Package: bc
Version: 1.06.94-3
Severity: normal

look this example in running bc

scale=2
24/7
"output" -> 3.42 !!!! right!!!!!!
scale=0
24/7
"output" -> 3 !!!! right!!!!!!
16.66*100
"output" -> 1666.00 !!!! WRONG !!!!
16.66*1000/10
"output" -> 1666 !!!! right!!!!!!
16.66*100/1
"output" -> 1666 !!!! right!!!!!!


to have un number with 0 decimal you have to use a workaround ...

-- System Information:
Debian Release: 5.0.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bc depends on:
ii  libc6                     2.7-18lenny7   GNU C Library: Shared libraries
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand
ii  libreadline5              5.2-3.1        GNU readline and history libraries

bc recommends no packages.

bc suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to