Removed an unnecessary if. Fixes #140
This commit is contained in:
parent
ce169b3b48
commit
9e9d99e918
1 changed files with 1 additions and 2 deletions
|
|
@ -693,8 +693,7 @@ value_t report_t::fn_round(call_scope_t& args)
|
|||
|
||||
value_t report_t::fn_roundto(call_scope_t& args)
|
||||
{
|
||||
if(args.has<int>(1))
|
||||
return args[0].roundto(args.get<int>(1));
|
||||
return args[0].roundto(args.get<int>(1));
|
||||
}
|
||||
|
||||
value_t report_t::fn_unround(call_scope_t& args)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue