Skip to main content
21-Topaz II
December 1, 2015
Solved

Auto multiple and submultiple of unit measure

  • December 1, 2015
  • 1 reply
  • 992 views

Hello everyone!

Years ago (about 2000) I wrote a routine, Visual C ++ environment, which, given a real number with the base unit of measure, it returned the same number with the correct multiple or submultiple of the unit. For example: 1542000 Hz input, output 1.542MHz. It exists in mathcad something that does the same thing without having to write the correct  multiple or submultiple? or need most likely to redo a suitable program?

Thanks for your attention

Best regards

F. M.

Best answer by RichardJ

Unfortunately, no. Mathcad decides how to format the units, and it's not very good at picking the most appropriate prefix. That's internal to Mathcad though, so there's no way to do anything about it. Other than by writing your own unit handling system, anyway, with units represented by strings. I doubt you want to do that though!

1 reply

RichardJ19-TanzaniteAnswer
19-Tanzanite
December 1, 2015

Unfortunately, no. Mathcad decides how to format the units, and it's not very good at picking the most appropriate prefix. That's internal to Mathcad though, so there's no way to do anything about it. Other than by writing your own unit handling system, anyway, with units represented by strings. I doubt you want to do that though!