Skip to content

Number System

Junlang does not use Arabic numerals. Instead, it represents all numbers using the count of the character along with a few auxiliary symbols.

Single-Digit Numbers

The number of characters represents the digit.

JunlangValue    
1
오오2
오오오3
오오오오4
오오오오오5
오오오오오오6
오오오오오오오7
오오오오오오오오8
오오오오오오오오오9

Digit Limit

If 10 or more characters appear in a row, the following error occurs. See Error Messages for details.

text
오 10개? 좀 진정해

Numbers 10 and above must use multi-digit notation.

Zero (0)

0 is represented as 오?.

junlang
오?
JunlangValue    
오?0

Negative Numbers

The negative sign is expressed by prefixing the number with ?.

junlang
?[number]
JunlangValue    
?오-1
?오오-2
?오오오-3
?오오오오오오오오-8

INFO

For more details, see Operators - Unary Operators.

Multi-Digit Numbers

Numbers 10 and above are written by separating digit groups with spaces. Each group represents a single digit (0–9), listed in decimal place order from left to right.

For example, breaking down 오오 오? gives 2 0. Since Junlang separates digits with spaces, this becomes 20.

JunlangValueBreakdown
오 오?101, 0
오오 오?202, 0
오오오 오?303, 0
오 오? 오?1001, 0, 0
오오 오오오232, 3
오오오오오 오오오오오오오575, 7

Negative numbers work the same way — just prefix with ?.

JunlangValue
?오 오?-10
?오오오 오?-30

Decimals

The integer part and the decimal part are separated by .

junlang
[integer part]ㅋ[decimal part]
JunlangValue
오ㅋ오오오오오1.5
오?ㅋ오오0.2
오오오 오?ㅋ오오오30.3
?오오오 오?ㅋ오오오-30.3
오오오 오ㅋ오오 오오오오오 오오오오오오31.256

The decimal part uses the same space-separated digit groups as the integer part. In the last example above, 31.256 breaks down as follows:

  • Integer part: 오오오 오3, 1 → 31
  • Decimal point: → .
  • Decimal part: 오오 오오오오오 오오오오오오2, 5, 6 → 256

 Note

  is also used in Junlang to terminate statements. See Statements and Blocks for details.

Summary

SymbolRole
Represents 1; the count determines the single digit value
오?0
?Negative sign (at the very front of the number)
Separates integer and decimal parts
(space)Separates digit groups