[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Debian]:Re: how to format a double



hallo,

>> Hi,
>> 
>> are there any helper methods to format the string representation of a
>> double. Like in C I would like to specify the number of digits after the
>> comma.
>> 
>> Thanks in advance

Klasse java.text.DecimalFormat, doku z.B. im Java Tutorial unter
<http://java.sun.com/docs/books/tutorial/i18n/format/decimalFormat.html>

Christoph

-- 
"Contrary to popular belief, Unix is user friendly. It's 
just very particular about who it makes friends with."
Christoph Lange
duke@cyberspaces.de, http://www.cul.de/home/yaph/, ICQ #51191833
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     761


Reply to: