mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix base unit value
This commit is contained in:
parent
4dc072a25a
commit
2e943461f8
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@
|
|||
|
||||
- (double)valueFromBaseUnitValue:(double)baseUnitValue
|
||||
{
|
||||
return ((baseUnitValue / _coefficient) - _constant);
|
||||
return (baseUnitValue - _constant) * _coefficient; //((baseUnitValue / _coefficient) - _constant);
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue