Jump to content

Need two decimals


Recommended Posts

Hi,

one of those questions where the answer is propably easier than binding your shoes but you didn´t have a coffee for several hours and therefor your brain is frozen (thats me...)

My Problem: Im am using a font sop to display the distance an object is traveling in the scene (simulating a digital display). I just don´t get it right so that it is 1.) only displaying 2 decimal points like 25.76 and 2.) displays 34.00 and not 34 as it is automatically doing.

Any help will be highly appreciated.

Sven

Link to comment
Share on other sites

`padzero(<value>, 2)`

Thank you very much oldschool.

(I forgot all about getting some coffee...when I woke up this morning I didn´t know that one of my problems would be solved by oldschool in person. It´s like Steve Jobs coming around to help you with your mac.)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...