Ceiling for numbers with unit
Ceiling for numbers with unit
(OP)
Hi,
How Ceiling is found for numbers associated with units using Mathcad? For example:
Ceil (48.659 in)
How Ceiling is found for numbers associated with units using Mathcad? For example:
Ceil (48.659 in)
RE: Ceiling for numbers with unit
There is a way (floor also): I shall look it up (have to find correct sheets) and I will advise.
Regards
Ed
Ed Clymer
Resinfab & Associates
England
RE: Ceiling for numbers with unit
ceil(dimension/inch)*inch to preserve the dimensions desired
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm
RE: Ceiling for numbers with unit
My MathCAD 2000 (best ever version) came on a disc and with a 700 page printed manual.
It (the manual)says;
floor(x) Greatest integer <= x (x real)
ceil (x) same
It does work..
However, see attachment for use with units.
Pleased to be of help
Regards
Ed
Ed Clymer
Resinfab & Associates
England
RE: Ceiling for numbers with unit
Remark: I am not sure if Mathcad 2000 already provided the built-in fuction "Ceil" (note the capital C).
If its available in your version you can use it like "Ceil(18.2 mm, mm)=...mm"
If not you may define your own: Ceil(a,b):=ceil(a/b)*b
RE: Ceiling for numbers with unit
I have checked the manual; and it says ceil (lower case)
and it does work in that format. MathCAD 200 does have ceil and floor
as built in functions.
I hope this time the file is attached.
Regards
Ed
Ed Clymer
Resinfab & Associates
England