Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthordpinte

    I have an application with three languages : english, french and dutch. The french locale should auhtorize the users to enter numbers like "2,7" and the english ones should enter "2.7". When users use this in our application (Akelos 0.8), the english users have a correct number saved into the db but the french users see only "2.0".

    It seems the decimal part has been lost.

    Is akelos "locale decimal format aware" ? It there a recommended way to treat such things ?



    I normally use number_format() and Ak::locale('number_format') for displaying localized numbers, but there is no Akelos way of normalizing users input.