Find values to right of decimal place

  • Thread starter Thread starter abbarition
  • Start date Start date
A

abbarition

I have a need to find just the values that appear to the right of the decimal
place of a number. Is there a good way to do this other than using the InStr
function to search for a decimal place?

Thanks!
 
I have a need to find just the values that appear to the right of the decimal
place of a number.  Is there a good way to do this other than using theInStr
function to search for a decimal place?

Thanks!

Public Function GetRemainder(ByVal curNumber As Currency) As Currency
GetRemainder = curNumber - curNumber \ 1
End Function

I tried using Mod, but it only works with integers...
 
abbarition said:
I have a need to find just the values that appear to the right of the decimal
place of a number. Is there a good way to do this other than using the InStr
function to search for a decimal place?


X - Fix(x)
 
Back
Top