Skip to content

Fixed Print::printf("%f") with correct digits - #28

Merged
RFduino merged 1 commit into
RFduino:masterfrom
ShenggaoZhu:fix-printf
Jun 27, 2016
Merged

Fixed Print::printf("%f") with correct digits#28
RFduino merged 1 commit into
RFduino:masterfrom
ShenggaoZhu:fix-printf

Conversation

@ShenggaoZhu

Copy link
Copy Markdown
Contributor

Original printf() function for the float format (%f) outputs wrong number of digits after the decimal point (eg 1.02 is printed as 1.2).

This PR fixes this hidden bug in the library which is not easy for the users to find out...

Original printf() function for the float format (%f) outputs wrong number of digits after the decimal point (eg 1.02 is printed as 1.2).
@RFduino
RFduino merged commit e99f5fd into RFduino:master Jun 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants