Use string amounts for balance
Doesn't change anything in practice
This commit is contained in:
parent
0cdb1b7eba
commit
3a07b8eadb
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue