Mobile Format string

Is there a format command in Mobile or is the following only available on Desktop?

var x as double = s.ToDouble
s = format(x, “###,###”)

You could try

s = x.ToString("###,###")

Thanks Wayne, I get a bit mixed up moving between desktop and mobile. I’m sure unification isn’t too far away :slight_smile:

1 Like

That same code works on desktop now.

1 Like

Maybe the language ref could bring up those examples when you search Format?

1 Like