Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email.
X
I have been trying to figure out if Mathcad is capable of contatenating a text string with a number having units into a sigle line. I want to use this for a results page. Example: d = 45 ft Results = concatenate("The maximum span is ",d) Results = The maximum span is 45 ft The above is simply how I have done it in Excel. Can anyone tell me if this is possible in Mathcad. (I'm using Mathcad 14 if you're wondering)
When you assign 45*ft to d it is stored internally in SI units (in this case m). There is therefore no way to automatically get ft in the answer. Apart from that restriction, this will give you the string you want: concat("The maximum span is ",num2str(d/ft),"ft") Richard