There are also some currency formatting plugins: http://plugins.jquery.com/project/currencyFormat
(or search currency under plugins) On Jul 7, 3:11 am, weidc <mueller.juli...@googlemail.com> wrote: > hi, > > thats my code: > > endpreis =Math.round(endpreis*100)/100; > > to round the price of something but i'd like to have 2,00 or 2,50 > instead of 2 and 2,5. > > i'd be happy about any help. > > --weidc