I did some work with an example application..
there is no separate unit but if you want to make one feel free.
This project shows two spin edit inputs you can play with values
I used online examples of Values from Excel.
It has floor, ceiling, RoundTo, Trunc, Int, Mod, CompareValue, RangeComparevalue and so on..
this is for the Currency type of course..