force dot instead of comma
This commit is contained in:
parent
992c9eb003
commit
4ed32db408
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ function latex-color --description "Get the LaTeX color from HEX code"
|
||||||
set a (math "0x$(string sub -s 7 -l 2 $hex) / 255")
|
set a (math "0x$(string sub -s 7 -l 2 $hex) / 255")
|
||||||
|
|
||||||
|
|
||||||
|
set -x LC_NUMERIC C
|
||||||
if test $a -eq 1
|
if test $a -eq 1
|
||||||
printf "{%.2f, %.2f, %.2f}\n" $r $g $b
|
printf "{%.2f, %.2f, %.2f}\n" $r $g $b
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue