phpbar.de logo

Mailinglisten-Archive

[php] LOCALE - printf()

[php] LOCALE - printf()

Kempter, Wilhelm, GQP wilhelm.kempter_(at)_sglcarbon.de
Wed, 28 Apr 1999 11:13:53 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01BE9158.D5921B70
Content-Type: text/plain

Hallo,
unter welchen Bedingungen die PHP-Funktion printf()
bei Gleitpunktzahlen bereit, Dezimalkomma statt Punkt zu beuntzen?
Beispiel:
$x = 12/10;
printf("%s %d %f", $x,$x,$x) liefert: 1,2 1 1.200000

LC_xxx ist laut phpinfo() alles "de".

TIA

Willi Kempter
SGL Carbon GmbH
86405 Meitingen

------_=_NextPart_000_01BE9158.D5921B70
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

eJ8+IjcJAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQSAAQASAAAATE9DQUxFIC0gcHJpbnRmKCkAAQUBCYABACEAAAA2
NjNCMzMwQzMzRkREMjExQkI5NTAwODA1RjAyNEY2MQD6BgEggAMADgAAAM8HBAAcAAsAFwA1AAMA
UAEBBYADAA4AAADPBwQAHAALAA0ANQADAEYBAQ2ABAACAAAAAgACAAEDkAYAsAQAABwAAABAADkA
YAjtb1eRvgEeAHAAAQAAABIAAABMT0NBTEUgLSBwcmludGYoKQAAAAIBcQABAAAAFgAAAAG+kVdv
1wwzO4z9MxHSu5UAgF8CT2EAAAIBCRABAAAAoQEAAJ0BAABJAgAATFpGde4qh3X/AAoBDwIVAqQD
5AXrAoMAUBMDVAIAY2gKwHNldO4yBgAGwwKDMgPGBxMCgyIzD3poZWwDIERs+mcCgH0KgAjPCdkC
gAqBgw2xC2BuZzEwMwBQZwsKEvIB0CBIB0AWACzNCoV1AjAEkCB3FQARsFkJ8CBCCYALgGcakGcD
G0EbkGUgUEhQLSJGGpBrdGkCICBwIwUQ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