S swabygw Active Member Licensed User Longtime User Sep 4, 2016 #1 I have the following: Code: Dim a As Int = 10 Dim b As Int = 1000 Dim c, d As String c = NumberFormat(a, 1, 0) d = NumberFormat(b, 1, 0) which yields "10" and "1,000". However, I need "10" and "1000". Is there a way to use NumberFormat to not get the thousands indicator? (and no leading zero's - the variable could be both under/over a thousand)
I have the following: Code: Dim a As Int = 10 Dim b As Int = 1000 Dim c, d As String c = NumberFormat(a, 1, 0) d = NumberFormat(b, 1, 0) which yields "10" and "1,000". However, I need "10" and "1000". Is there a way to use NumberFormat to not get the thousands indicator? (and no leading zero's - the variable could be both under/over a thousand)