LarryO Posted August 2, 2022 Share Posted August 2, 2022 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. Quote Link to comment
MullinRJ Posted August 2, 2022 Share Posted August 2, 2022 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 Quote Link to comment
LarryO Posted August 3, 2022 Author Share Posted August 3, 2022 Thanks Ray, Just what I needed! I simply didn't know which words to use to search for that function. Quote Link to comment
Recommended Posts
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.