1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_cli/examples/decimal_literal.zok
2021-04-12 10:05:11 +02:00

4 lines
No EOL
127 B
Text

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