Jump to content

decimal to fractional or feet & inches?


Recommended Posts

Is there a VS function that I'm just not seeing that changes decimal (a Real) to a character string in either fractional inches and or feet and inches notation?

I am hoping to present the value of an internal variable via a static parameter (String) in fractional inches or feet & inches if the user has selected that setting for their dimensioning.

Link to comment

Try Num2StrF();

It will format your number to the current document units format. If your document units are not in Ft-In, you will have to set the document units to Feet-Inches temporarily before making the conversion, then set it back when done.

 

If you need help changing document units, please write back.

 

Raymond

Link to comment

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.   Restore formatting

  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...