[Bug 1589717] Re: bc cannot handle "comma" instead of "dot" in floating point operations
benjamin button
1589717 at bugs.launchpad.net
Wed May 9 20:33:45 UTC 2018
I believe decimal separator symbol varies from region to region, so is
there any way to get the correct decimal separator?
I can now clearly see that this bug is valid if "bc" cannot get (or
convert) the correct decimal separator. Is there any other bug(s) that
prevents bc to get the correct symbol? Because user selects the region
and country information at the installing screen on most distros. Hence
the system should know which decimal point separator will be used as
default.
I don't see any necessity to support different decimal separator
symbols. If there is no counter-argument, I would like to mark this bug
as "WON'T FIX".
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bc in Ubuntu.
https://bugs.launchpad.net/bugs/1589717
Title:
bc cannot handle "comma" instead of "dot" in floating point operations
Status in bc package in Ubuntu:
Confirmed
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
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bc/+bug/1589717/+subscriptions
More information about the foundations-bugs
mailing list