bc cannot handle "comma" instead of "dot" in floating point operations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bc |
Fix Released
|
Unknown
|
|||
bc (Ubuntu) |
Won't Fix
|
High
|
Unassigned |
Bug Description
Using comma in floating point arithmetic operations causing problem in bc.
Can be reproduced by using following command;
bc <<< "100 - 97,2"
It is running without an error if comma is replaced by dot as following;
bc <<< "100 - 97.2"
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: bc 1.06.95-9build1
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Jun 7 01:17:11 2016
InstallationDate: Installed on 2016-06-05 (1 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: bc
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in bc (Ubuntu): | |
importance: | Undecided → High |
Changed in bc: | |
status: | Unknown → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.