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...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement