Use string amounts for balance

Doesn't change anything in practice
This commit is contained in:
Juerd Waalboer 2022-06-12 02:17:44 +02:00
parent 0cdb1b7eba
commit 3a07b8eadb
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ sub names() {
}
sub balance($username) {
return RevBank::Amount->new_from_float( _read()->{ lc $username }->[1] );
return RevBank::Amount->parse_string( _read()->{ lc $username }->[1] );
}
sub since($username) {