Sub Activity_Create(FirstTime As Boolean)
Log(MyFormat(199))
End Sub
Sub MyFormat(d As Double) As String
Dim s As String = NumberFormat2(d, 0, 2, 2, False)
Return s.Replace(".", ",")
End Sub
@Erel
if the value start with 0 how can i change this?
example i have 0.40 using your example the result is ",40" no 0,40
my ideia its check if start with , add 0 at start but i dont know if this is the correct way.