docs
/
Take a product tour
Sign in
  1. Introduction
  2. Home
  3. Overview
  4. Getting started
  5. Explanation
  6. Component
  7. Slot
  8. Immersion
  9. Reference
    1. Introduction
    2. Playground
    3. Syntax
      1. Basics
      2. Durations
      3. Functions
          1. Overview
          2. Minus
          3. Plus
          4. Percent
          5. Addition
          6. Subtraction
          7. Multiplication
          8. Division
          9. Modulo
          10. Exponentiation
      4. Conditionals
    4. Conversions
    5. Context
    1. Reference
    2. CQL
  1. Expressions
  2. Operations
  3. Arithmetic

Percent operation

Learn how to convert a percentage to a decimal number.

The percent operation converts a number from percentage to decimal format by dividing it by 100.

To use the percent operator, place a % sign after a number, variable, or expression:

/*<operand>*/%
Try in Playground

Here is a practical example:

51% // 0.51
Try in Playground
Previous
Plus
Next
Addition
  • Resources
  • Documentation
  • Blog
  • Newsletter
  • Support
  • Slack community
  • API status
  • Company
  • Careers
  • Contact us
  • Legal
  • Privacy policy
  • Terms of service
  • Language
© Croct 2025