RhinoScript FORMAT function

Is there a RhinoScript text FORMAT function like in VBA, as in the following Microsoft page:

I tried the MS syntax but rhinoscript did not like it.

Hello - Iā€™d say that should probably work - what is the line of code that calls format?


I tried varous iterations, this being the simplest:
strTotals = format(1.23456, ā€œ0.000ā€)


ā€“ Dale