How to check the amount of decimal places in a float?

The old AsCurrency(int) and AsCurrency(float) are deprecated yes. But the simple version where you can only input an Integer and a Currency code should work as expected.