Number
Number values in Rhyme represent numeric data - both integers and decimals. They’re essential for calculations, counters, and any quantitative operations.
Creating Number Values
// Integers
$age = 25
$count = 100
// Decimals
$price = 19.99
$temperature = 98.6
// Negative numbers
$balance = -150.50
$below-zero = -5
Common Uses
- Mathematical calculations
- Loop counters
- Prices and currency
- Measurements and statistics
More content coming soon…