Dim fiat As double
fiat = 6368.4397
NumberFormat(fiat, 0, 2)
Expected:
textFiat = 6368.43
Actual:
textFiat = 6368.4397
Edit: changed fiat to textFiat in expected & actual to make it clearer that its not expected to format the original var but the output of numberforma to a text obj
fiat = 6368.4397
NumberFormat(fiat, 0, 2)
Expected:
textFiat = 6368.43
Actual:
textFiat = 6368.4397
Edit: changed fiat to textFiat in expected & actual to make it clearer that its not expected to format the original var but the output of numberforma to a text obj
Last edited: