lantiq-dsl: bugfix db negative sign after comma
If db is negative minus sign was shown after comma Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> SVN-Revision: 49135
This commit is contained in:
parent
9ef282cd96
commit
7beb53b1a5
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ dsl_string() {
|
||||||
dbt() {
|
dbt() {
|
||||||
local a=$(expr $1 / 10)
|
local a=$(expr $1 / 10)
|
||||||
local b=$(expr $1 % 10)
|
local b=$(expr $1 % 10)
|
||||||
echo "${a}.${b}"
|
echo "${a}.${b#-}"
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
# Take a number and convert to k or meg
|
# Take a number and convert to k or meg
|
||||||
|
|
Loading…
Reference in a new issue