Get rid of the Tilda..
-
Hello Ruby masters,
I have no idea in programming, though I a, trying to modify one simple plugin called heighttool_datum.rb
The thing is the results appear with a tilda in the beginning and what I would like to do is to take out the tilda so will apear only the height of the point..
Can somebody maybe know hou to do that? It would save me so a lot of job getting rid of all of them..the plugin can be found here: http://forums.sketchucation.com/viewtopic.php?t=22851
Thanks, cheers and thanks again for all the lovely job you do out there...
Nankyo.
-
The tilde ~ is an approximation indicator... so 1.4mm >>> ~1mm IF your number of dp's in the Model > Units is set too low.
You get this using .to_l etc.
You can always get a distance or xyx value in inches [the default base units] and convert them to something else with methods like .to_mm...
You can also convertfloars to a fixed number of dp's using sprintf() etc...
Advertisement