Wiris

Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • CalcMe
                      • Commands
                      • Units of Measurement
                      • Units of Measurement

                      Quantity

                      Reading time: 1min

                      Creates a quantity.

                      Syntax

                      quantity(Expression, Unit)
                      
                      quantity(Expression)
                      

                      Description

                      Given an expression and a unit, constructs a quantity with the value given by the expression and with the desired unit.

                      Given an expression, constructs a quantity with the value given by the expression and with dimensionless units.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • Coefficient
                      • Coefficient SI
                      • Conversion factor
                      • Convert
                      • Currencies

                      Quantity

                      Syntax Description

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Learning Lemur

                      Integrations

                      Solutions

                      • Education
                      • Publishing houses – platforms and interactive
                      • Publishing houses – Print and digital
                      • Technical writers

                      Pricing

                      Downloads

                      Blog

                      • Success stories

                      About us

                      • Careers
                      • Partnership

                      Contact Us

                      Contact Sales

                      European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Cookie Settings

                      © Wiris 2026

                      Expand