1
0
Fork 0
mirror of synced 2025-09-23 04:08:33 +00:00
ZoKrates/zokrates_cli/examples/decimal_literal.zok
2022-04-06 20:23:58 +02:00

5 lines
No EOL
133 B
Text

def main() -> field {
field a = 1f;
field b = 1_f; // allow underscore between the literal and the suffix
return a + b;
}