How do i Remove the Digits After Decimal Wihout Round?

Here is another method, which calculates number as a sum of digits:

(CInt(number) + 0.1 * CDbl(CInt(10 * number) - 10 * CInt(number)) + 0.01 * CDbl(CInt(100 * number) - 10 * CInt(10 * number)) ).toString

Fine regards, Adrian

1 Like