{
"@context": "https://nxdlang.org/schema",
"doc_id": "PT024",
"title": "MUL | DIV",
"description": "NXD Compiler Testing Notes - Nim",
"layer": "Passed Tests",
"category": "Passed Tests",
"keywords": [Transpilation, Compiler, Nim],
"doc_version": "1.0",
"status": "active"
}
# PT024 MUL DIV
### NXD Sample:
```nxd
MODULE TEST
FUNC MAIN()
CONST PI SET 3.14
CONST RATE SET 2.0
PRINTLN(PI MUL RATE)
PRINTLN(PI DIV RATE)
```
### Result:
COMPILER: PASS
SEMANTICS: PASS
Expected Output:
### Actual Output:
```nim
# test
proc main() =
let pi = 3.14
let rate = 2
println(pi * rate)
println(pi / rate)
```
### Notes:
Documentation