Table of Contents

Method GetScale

Namespace
YndigoBlue.Velocity.Utils
Assembly
YndigoBlue.Velocity.dll

GetScale(decimal)

Gets the scale (number of decimal places) of a decimal value.

public static byte GetScale(this decimal value)

Parameters

value decimal

The decimal value to examine.

Returns

byte

The number of digits after the decimal point.