davelt99 Member Licensed User Longtime User Sep 27, 2012 #1 s="123.45" s=NumberFormat(s,0,2) = "123.45" s="123.00" s=NumberFormat(s,0,2)="123" Is there a way to force the ".00" for even dollar amounts ?
s="123.45" s=NumberFormat(s,0,2) = "123.45" s="123.00" s=NumberFormat(s,0,2)="123" Is there a way to force the ".00" for even dollar amounts ?
klaus Expert Licensed User Longtime User Sep 27, 2012 #2 B4X: s=NumberFormat2(s, 0, 2, 2, False)="123" Best regards. Upvote 0
davelt99 Member Licensed User Longtime User Sep 27, 2012 #3 Thanks Klaus, wasn't aware of NumberFormat2 Upvote 0