Files
packages/anda/apps/vlc/lua-math.patch
T
Gilver a35314d3fc [f43] add: VLC (#8519)
* add: VLC

* cleanup: New macros and bump release down

* fix: NO

* Cleanup and check if VLC is where it thinks it is?

* cat the log to see what's wrong

* cat the log to see what's wrong

* Try to get errors from this thing

* Empty commit because GitHub is testing my patience

Signed-off-by: Gilver <rockgrub@disroot.org>

* Try this?

* shdfshdfhj

* Cleanup spec and see if this works

* What now

* This will have to do.

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
2025-12-20 14:05:52 +08:00

12 lines
457 B
Diff

--- ./share/lua/intf/modules/httprequests.lua.Orig 2023-08-05 06:03:51.000000000 -0400
+++ ./share/lua/intf/modules/httprequests.lua 2024-05-28 14:02:41.569002601 -0400
@@ -34,7 +34,7 @@
what = common.us_tonumber(what)
end
if type(what) == "number" then
- return math.floor(what*math.pow(10,precision)+0.5) / math.pow(10,precision)
+ return math.floor(what*(10^precision)+0.5) / (10^precision)
end
return nil
end