Round numbers in kFormatter before using "sprintf"

Components

Labels

Description

The number given to "kFormatter::Format" method needs to be rounded upfront before giving it to the "sprintf" function to avoid precision loss.

Context Information

None

Additional information (do not use)

None

Activity

Alex November 28, 2016 at 9:26 AM

Closing issues of a released version.

Alex March 10, 2016 at 11:42 AM

alex added a project to D143: - Round numbers in kFormatter before using "sprintf": Intechnic: RPI.

Alex January 17, 2016 at 10:32 AM

alex closed D143: - Round numbers in kFormatter before using "sprintf" by committing rINP16305: Fixes - Round numbers in kFormatter before using "sprintf".
alex updated the diff for D143: - Round numbers in kFormatter before using "sprintf".

[API] Administrator January 17, 2016 at 10:32 AM

User committed a fix to 5.2.x. Commit Message:

Fixes - Round numbers in kFormatter before using "sprintf"

Differential Revision: http://qa.in-portal.org/D143

Alex January 17, 2016 at 10:31 AM

alex updated the diff for D143: - Round numbers in kFormatter before using "sprintf".
alex added a comment to D143: - Round numbers in kFormatter before using "sprintf".

Grammar fix.

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Fixed

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Story Points

Fix versions

Created October 2, 2015 at 3:27 PM
Updated December 29, 2024 at 8:54 PM
Resolved January 17, 2016 at 10:32 AM