emiperez / java-basque-locale

Automatically exported from code.google.com/p/java-basque-locale
1 stars 0 forks source link

fmt maxFractionDigits formating numbers on view error #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using this locale, using fmt library on jsp to format the view.

add to jsp the library: 
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<fmt:setLocale value="eu_ES"/>
<fmt:formatNumber value="1.1234" maxFractionDigits="2"/>
output: 1.1234

<fmt:setLocale value="es_ES"/>
<fmt:formatNumber value="1.1234" maxFractionDigits="2"/>
output: 1.12

using this locale(eu, or eu_ES) maxFractionDigits doesn't work.

Also I believe that first day of week is Monday in Basque(not Sunday).

Many thanks for this extension Good work!

Original issue reported on code.google.com by josep.mo...@gmail.com on 22 May 2012 at 10:32

GoogleCodeExporter commented 9 years ago
Yeah, same thing here... 

Original comment by silvio.r...@ringier.ch on 29 Apr 2014 at 2:54