0

I want to use the . as my decimal separator in my whole application. But when i want to change it in the web config like this:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    
    <system.web>
        <globalization
            requestEncoding="utf-8"
            responseEncoding="utf-8"
            culture="en-GB"
            uiCulture="en-GB"
            enableClientBasedCulture="false"/>
    </system.web>

</configuration>

It doesn't do anything. I use ASP for input, type = number, step = 0.01

So i can only type with a dot but when i type 23.45 my viewmodel says it is 2345,00

  • do you have check this question ? https://stackoverflow.com/questions/793459/how-to-set-decimal-separators-in-asp-net-mvc-controllers – Aristos Jul 15 '21 at 11:20

0 Answers0