moore_it Well-Known Member Licensed User Longtime User Sep 3, 2020 #1 The NumberFormat statement in versione 8.50 wrong. for example : FormatNumber(150,5,0) = 00,150
moore_it Well-Known Member Licensed User Longtime User Sep 3, 2020 #3 are you sure ? for me the right resut is 00150 NumberFormat(Number as Double,MinimumInteger As Int,MaximumFractions As Int) As String Example : NumberFormat(1,3,0) = '001'
are you sure ? for me the right resut is 00150 NumberFormat(Number as Double,MinimumInteger As Int,MaximumFractions As Int) As String Example : NumberFormat(1,3,0) = '001'
klaus Expert Licensed User Longtime User Sep 3, 2020 #5 It is correct. NumberFormat converts a Double into a String with "," as the thousand separator by default. To get the result you expect you should use: NumberFormat2(150, 5, 0, 0, False)
It is correct. NumberFormat converts a Double into a String with "," as the thousand separator by default. To get the result you expect you should use: NumberFormat2(150, 5, 0, 0, False)
moore_it Well-Known Member Licensed User Longtime User Sep 3, 2020 #6 Ok i test it and it works fine ! Sorry