mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-06-24 11:31:43 +00:00
Upgraded brick/math to latest version
This commit is contained in:
parent
506d5f8173
commit
527c42c227
11 changed files with 58 additions and 56 deletions
|
|
@ -44,7 +44,7 @@ class BigDecimalType extends Type
|
|||
|
||||
|
||||
|
||||
return BigDecimal::of($value);
|
||||
return BigDecimal::of(is_float($value) ? BigDecimal::fromFloatShortest($value) : $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue