Code review comment for lp:~mcbits/pantheon-calculator/fix-1415049

Revision history for this message
MarkoD (markodolar) wrote :

Looks like with this fix calculator now properly outputs number of decimal places :)

But this also introduces small bug - if d_places is 0 and equation result is "0", calculator will crash in cut() trying to slice radix character off an empty string.

review: Needs Fixing

« Back to merge proposal