I follow with interest all this solutions, and learn a lot, of all
of them, but I wonder why use “(0.0 as text)'s character 2” and
not simply use the dot character as in my own version? Is there
any reason that I can’t see?
The decimal "point" isn't a period in all locales -- for instance, in
France they use a comma. Because "0.0 as text" uses the localized
number format to create the string, you get the localized decimal
point. Whether or not you care depends on how widely you expect your
script to be distributed.