/ Published in: Maxscript
Add decimal padding
Expand |
Embed | Plain Text
fn addDecimalPadding nr = ( case of ( (nr < 10): ("00" + nr as string) (nr > 9 and nr < 100): ("0" + nr as string) (nr > 99): (nr as string) ) ) addDecimalPadding 15 -->"015"
You need to login to post a comment.
