Edit box parsing reference

Input Expression

Unit Assumption

Final Unit

1st Post Parse

Final Unit

2nd Post Parse

Final Unit

3

3 mm

mm

       

3 * 4

3 mm * 4 mm

mm^2

3 mm * 4 ul

mm ul

   

3 mm * 4

3 mm * 4 mm

mm^2

3 mm * 4 ul

mm ul

   

3 * 4 mm

3 mm * 4 mm

mm^2

3 mm * 4 mm

mm^2

3 ul * 4 mm

mm ul

3 / 4

3 mm/ 4 mm

none

3 mm / 4 ul

mm / ul

   

3 mm / 4

3 mm / 4 mm

none

3 mm / 4 ul

mm /ul

   

3 / 4 mm

3 mm / 4 mm

none

3 mm / 4 mm (no change)

none

3 ul / 4 mm

ul/mm (mismatch)

3 * cos(30)

3 mm * cos(30 mm)

error

3 mm * cos(30deg)

mm ul

   

cos(30) * 3

cos(30mm) * 3 mm

error

cos(30deg) * 3 mm

mm ul

   

3 *cos(2 * 15)

3 mm * cos(2 mm * 15 mm)

error

3 mm * cos(2 deg * 15 ul)

mm ul

   

3 * cos(2 * 15 deg)

3 mm * cos( 2 mm * 15 deg)

error

3 mm * cos(2 deg * 15 deg)

error

3 ul * cos(2 deg * 15 deg)

error

3 * cos(15 deg * 2)

3 mm * cos(15 deg * 2 deg)

error

3 mm * cos(15 deg * 2 ul)

mm ul

   

3mm *cos(2 * 15)

3 mm * cos(2 mm * 15 mm)

error

3 mm * cos(2 deg * 15 ul)

mm ul

   

3mm * cos(2 * 15 deg)

3 mm * cos( 2 mm * 15 deg)

error

3 mm * cos(2 deg * 15 deg)

error

3 mm * cos( 2 ul * 15 deg)

mm ul

3mm * cos(15 deg * 2)

3 mm * cos(15 deg * 2 deg)

error

3 mm * cos(15 deg * 2 ul)

mm ul