0
I created a C# API in Azure where it returns me an array by passing the following parameters:
tccapiwebservice.azurewebsites.net/api/Algoritimos/PostAlgoritimo?_funcobjetiva=5,00;3,50&_maxmin=true&_restricoes=1,5;1.1;0.0;1&_sinalres=2;2;2&_valoruni=400;150;300&_tipo=true
This version is the same as running on my site, only when I pass the same parameters to the local API it brings me different results, it follows the same:
API Azure (unexpected result)
I don’t know why they’re giving different results.
note that the decimal separator in Azure is
.
and on the spot is,
if you’re not treating this correctly, you’ll certainly have problems– Rovann Linhalis
thank you very much, that was exactly it! To tidy up I put in my webconfig the tag globalization as standard!
– hebert andrade