Announcement

Collapse
No announcement yet.

Using Currency in a Float Value

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Using Currency in a Float Value

    Hi, I have a float variable that will use currency. But if I put 0.00 in the value, it keeps defaulting to 0.0. So my current float numbers displayed in my widget appear as $0.0.

    How can I get it to display as $0.00? I thought about Appending the float to add extra "0", but if the user adds change it will appear as $0.120". Any suggestions to force a float value to display two digits after the decimal?

    Thanks!
    Eldridge Felder

    Animation/Visualization Manager
    WorthGroup Architects

    #2
    Never mind. I solved it. The "ToText(float)" node has a dropdown menu option. Under this, I can set the Minimum and Maximum fractional digits. Thanks Epic!
    Eldridge Felder

    Animation/Visualization Manager
    WorthGroup Architects

    Comment

    Working...
    X