This works for me
VB Code:
Option Explicit Private Sub Form_Load() Dim a As Long Dim b As Currency a = 40836 b = a / 1000 MsgBox Format(b, "###.#") End Sub
prints 40.8
|
Results 1 to 7 of 7
Thread: Moving decimalThreaded View
|
Click Here to Expand Forum to Full Width |