Trailing Zero Macro


HDbyJustin
 Share

Recommended Posts

I have made a simple macro to show the ceiling height for a selected room. It is not showing the trailing zero. I am attaching my macro below. Any thoughts?

 

height = room.finished_ceiling_elevation - room.finished_floor_elevation

 

nf = NumberFormatter.new

nf.unit = "'-\""

nf.use_fractions = true

nf.apply (height)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share