Project

Profile

Help

Bug #3419

closed

format-number() rounding issues

Added by John Lumley about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2017-08-30
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
1.0, Trunk
Fix Committed on JS Branch:
1.0, Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

format-number(0.95, '0.0') => "000"

whereas correctly:

format-number(0.92, '0.0') => "0.9"

and

format-number(0.95, '0.00') => "0.95"

and

format-number(0.95, '0.') => "1"

Please register to edit this issue

Also available in: Atom PDF Tracking page