Inserting price into SQL with script not working

I am working on a function to add a product when I scan an unknown barcode. The issue I am encountering is that I cannot input decimal numbers for the price. For example if I enter 10.10 it is stored as 1010.00 in the SQL database. The problem lies in the number grouping in the region settings of the PC. Is there a solution to this problem without changing the region settings?

function addProduct(name, portion, category, price, barcode)
{

var response = gql.Exec(‘mutation m {addProduct(name: "’+name+‘", groupCode: "’+category+‘“,barcode:”’+barcode+‘", portions: [{name: "’+portion+‘", price: ‘+price+’}]) { id name groupCode }}’);
var result = JSON.parse(response);
if (!result || !result.data || !result.data.addProduct) return “:x: Fout: Product kon niet worden toegevoegd via GraphQL.”;

var ProductID = result.data.addProduct.id;

return “:white_check_mark: Product '”+name+“’ met portie '”+portion+“’ en prijs “+price+” toegevoegd via GraphQL!”;
}

function addProduct(name, portion, category, price, barcode)
{
var response = gql.Exec('mutation m {addProduct(name: "'+name+'", groupCode: "'+category+'",barcode:"'+barcode+'", portions: [{name: "'+portion+'", price: 1}]) { id name groupCode }}');
var result = JSON.parse(response);
if (!result || !result.data || !result.data.addProduct) return ":x: Fout: Product kon niet worden toegevoegd via GraphQL.";
var ProductID = result.data.addProduct.id;
gql.Exec('mutation m{postResetProductCacheMessage {id}}');
var portionID = JSON.parse(gql.Exec('{getProduct(id:'+ProductID+'){portions{id}, tags{name,value} }}')).data.getProduct.portions[0].id;
sql.ExecSql("UPDATE MenuItemPrices SET Price = '"+price+"' WHERE MenuItemPortionId = "+portionID+"")
return ":white_check_mark: Product '"+name+"' met portie '"+portion+"' en prijs "+price+" toegevoegd via GraphQL!";
}

Price change with barcode

function fiyat(){
var barkod	=	dlg.EditValue("Add Barcode;;;O","");
if(barkod===''){return dlg.AskQuestion("<b>Add Barcode.</b>","OK=0:green;green","darkred","",2)}
var id		=	JSON.parse(gql.Exec('{getProducts(barcode:"'+barkod+'"){portions{id}}}')).data.getProducts[0].portions[0].id;
var urun	=	JSON.parse(gql.Exec('{getProducts(barcode:"'+barkod+'"){name}}')).data.getProducts[0].name;
var fiy 	=	JSON.parse(gql.Exec('{getProducts(barcode:"'+barkod+'"){portions{price}}}')).data.getProducts[0].portions[0].price;
var fiyat	=	dlg.EditValue(""+urun+"\rAdd Price;[0-9.]{1,};;OCN;49,50,51|52,53,54|55,56,57|190,48,8",""+fiy+"");
if(fiyat!==''){sql.ExecSql("UPDATE MenuItemPrices SET Price = '"+fiyat+"' WHERE MenuItemPortionId = "+id+"");
gql.Exec('mutation m{postResetProductCacheMessage {id}}');
return dlg.AskQuestion("<b>Price Changed.</b>","OK=0:purple;purple","green","",5,"Old  Price  :  <color yellow><i>"+fiy+"</i></color>\rNew Price :  <color yellow><b>"+fiyat+"</b></color>")
} 
}