dragonwell
Programmer
Is there a function in the Framework that will return the number of decimal places in a decimal or double?
NumberOfDecimals(1.1234) returns 4, NumberOfDecimalPlaces(1.120) returns 2, etc.
I could convert to a string and use the index of ".", but I would like to use the "proper" method, if one exists.
Thanks
David
NumberOfDecimals(1.1234) returns 4, NumberOfDecimalPlaces(1.120) returns 2, etc.
I could convert to a string and use the index of ".", but I would like to use the "proper" method, if one exists.
Thanks
David