Grasshopper

algorithmic modeling for Rhino

Hi guys,

sorry for bother you for stuff like that, but i'm getting crazy.

I don't know why I can't change the formatting of my panel (file attached).

I have a number like 100000.26543 and I would like to format it in 100,000.26

I'm using

Format("{0:#,##0.00}", x)

but it's not working.

Some idea?

Thank you.

Views: 254

Attachments:

Replies to This Discussion

Your input is a string and not a number.

Pass it through a Number Param to convert it.

Thank you, I'm really boiled! :D

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service