Article 56G99 printf not rounding up with %0.f on bash shell (endeavouros)

printf not rounding up with %0.f on bash shell (endeavouros)

by
viriv
from LinuxQuestions.org on (#56G99)
so i wanted to use light for my backlight and use xob to make a nice bar that displays it, but light outputs a number with a comma so i thought i could use printf to round it up but it just outputs a error saying (for example) 1.55 is a invalid number instead of 2, does anyone know why this might be caused?latest?d=yIl2AUoC8zA latest?i=_fng0GSpbws:3wHCjcw8FkA:F7zBnMy latest?i=_fng0GSpbws:3wHCjcw8FkA:V_sGLiP latest?d=qj6IDK7rITs latest?i=_fng0GSpbws:3wHCjcw8FkA:gIN9vFw_fng0GSpbws
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments