<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.zcubes.com/index.php?action=history&amp;feed=atom&amp;title=Manuals%2Fcalci%2FUNITS</id>
	<title>Manuals/calci/UNITS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.zcubes.com/index.php?action=history&amp;feed=atom&amp;title=Manuals%2Fcalci%2FUNITS"/>
	<link rel="alternate" type="text/html" href="https://wiki.zcubes.com/index.php?title=Manuals/calci/UNITS&amp;action=history"/>
	<updated>2026-04-28T13:09:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.zcubes.com/index.php?title=Manuals/calci/UNITS&amp;diff=212951&amp;oldid=prev</id>
		<title>Devika: Created page with &quot;&lt;div style=&quot;font-size:30px&quot;&gt;'''UNITS(String)'''&lt;/div&gt;&lt;br/&gt; *&lt;math&gt;String&lt;/math&gt; is any Unit name with Value.  ==Description== *This function converts the string to a number wi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.zcubes.com/index.php?title=Manuals/calci/UNITS&amp;diff=212951&amp;oldid=prev"/>
		<updated>2020-02-20T06:43:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;div style=&amp;quot;font-size:30px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;UNITS(String)&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt; *&amp;lt;math&amp;gt;String&amp;lt;/math&amp;gt; is any Unit name with Value.  ==Description== *This function converts the string to a number wi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;font-size:30px&amp;quot;&amp;gt;'''UNITS(String)'''&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;String&amp;lt;/math&amp;gt; is any Unit name with Value.&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
*This function converts the string to a number with units specified.&lt;br /&gt;
*If a variable needs to be specified in specific units, simply use the &amp;lt;&amp;gt; operator. Such as: a&amp;lt;&amp;gt;(m/sec).&lt;br /&gt;
*To convert the current value of a variable to a different unit, simply use the &amp;lt;&amp;gt; operator: a&amp;lt;&amp;gt;cm;&lt;br /&gt;
*Any multi unit indication should be in () to avoid confusion with normal code that may mean something else. For 1 meter/second, 1(m/s) or 1&amp;lt;&amp;gt;(m/s) should be used&lt;br /&gt;
*The following list is basic conversion Units:&lt;br /&gt;
MassUnits:g,sg,lbm,u,ozm,&lt;br /&gt;
&lt;br /&gt;
DistanceUnits:m,mi,Nmi,in,ft,yd,ang,Pica,&lt;br /&gt;
&lt;br /&gt;
TimeUnits:yr,day,hr,mn,sec,year,s,min,hour,&lt;br /&gt;
&lt;br /&gt;
PressureUnits:Pa,atm,mmHg,&lt;br /&gt;
&lt;br /&gt;
ForceUnits:N,dyn,lbf,&lt;br /&gt;
&lt;br /&gt;
EnergyUnits:J,e,c,cal,eV,HPh,Wh,flb,BTU,&lt;br /&gt;
&lt;br /&gt;
PowerUnits:HP,W,&lt;br /&gt;
&lt;br /&gt;
MagnetismUnits:T,ga,&lt;br /&gt;
&lt;br /&gt;
LiquidUnits:tsp,tbs,oz,cup,pt,qt,gal,l,&lt;br /&gt;
&lt;br /&gt;
Prefixes:Y,Z,E,P,T,G,M,k,h,e,d,c,m,u,n,p,FValue,a,z,y,&lt;br /&gt;
&lt;br /&gt;
Others:rad,deg,F,C,K,dollar,euro,cent,rupee&lt;br /&gt;
*Using Units function we can do with arithmetic Operations also.&lt;br /&gt;
*For Example: UNITS(&amp;quot;1km&amp;quot;)&amp;lt;+&amp;gt;UNITS(&amp;quot;2cm&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
# UNITS(&amp;quot;5km&amp;quot;) = 5km&lt;br /&gt;
# UNITS(&amp;quot;2m&amp;quot;)&amp;lt;+&amp;gt;UNITS(&amp;quot;8m&amp;quot;) = 10m&lt;br /&gt;
# UNITS(&amp;quot;6kg&amp;quot;)&amp;lt;+&amp;gt;UNITS(&amp;quot;5kg&amp;quot;) = 11kg&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Manuals/calci/TOUNITS  | TOUNITS  ]]&lt;br /&gt;
*[[Manuals/calci/UNITSOF| UNITSOF ]]&lt;br /&gt;
*[[Manuals/calci/CONVERT | CONVERT ]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Conversion_of_units Convert Units]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Z_API_Functions | List of Main Z Functions]]&lt;br /&gt;
&lt;br /&gt;
*[[ Z3 |   Z3 home ]]&lt;/div&gt;</summary>
		<author><name>Devika</name></author>
	</entry>
</feed>