playMaker

Author Topic: Convert Float To String [Solved]  (Read 929 times)

LuminRabbit

  • Full Member
  • ***
  • Posts: 161
  • Lumin Rabbit
Convert Float To String [Solved]
« on: December 20, 2020, 10:51:59 AM »
Hello Makers,

In the action Convert Float To String there is a Format field and the Tooltip says: "Optional Format, allows for reading zeros E.g.,0000"

Is there somewhere I can find a list of formatting options to use in this field?
« Last Edit: December 29, 2020, 11:55:49 AM by Kodagames »
Have I said how much I love playmaker!!! This is one amazing tool

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Convert Float To String
« Reply #1 on: December 21, 2020, 07:24:02 AM »
Yes, on internet.  ;D
You need something like "C# string formats".

Note that the # is very useful. It's a dynamic placeholder.

LuminRabbit

  • Full Member
  • ***
  • Posts: 161
  • Lumin Rabbit
Re: Convert Float To String
« Reply #2 on: December 29, 2020, 10:45:51 AM »
HAHAHA!

Of course on the internet ;) but seriously thank you.
I did do quite a bit of google searching prior to posting but what I was searching for didn't yield much, the # did indeed help! and lead me to this:
https://docs.microsoft.com/en-us/dotnet/api/system.string.format?view=net-5.0

Greatly appreciated @Broken Stylus
Have I said how much I love playmaker!!! This is one amazing tool