rechner.lua Fehler mit , und . gefixt
This commit is contained in:
parent
5aafe268fa
commit
7e06e017ee
@ -1,7 +1,7 @@
|
||||
-- Function reference: http://mathjs.org/docs/reference/functions/categorical.html
|
||||
|
||||
local function mathjs(exp)
|
||||
local exp = string.gsub(exp, "%,", "%.")
|
||||
local exp = string.gsub(exp, ",", ".")
|
||||
local url = 'http://api.mathjs.org/v1/'
|
||||
url = url..'?expr='..URL.escape(exp)
|
||||
local b,c = http.request(url)
|
||||
|
Reference in New Issue
Block a user