realbasic-nug.de
[Top] [All Lists]

Re: Bug oder altersblindheit?

To: realbasic-nug dot de at lists dot realsoftware dot com (REALbasic NUG German)
Subject: Re: Bug oder altersblindheit?
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Fri, 28 Jan 2005 13:25:12 +0100
Comments: Written on a PowerMac G4 and sent via DSL.
Delivered-to: realbasic-nug dot de at lists dot realsoftware dot com
Enno Bussmann <enbus at t-online dot de> wrote:

> Hallo in die runde
> 
> Ist folgendes ein bug in 5.5.3 ?
> 
> format(zahl,"#.00")
> 
> liefert _10.00_ für _10,44_ (dezimalkomma) und
> _10.44_ für _10.44_ (dezimalpunkt), egal ob ich als platzhalter für das
> dezimalzeichen ein komma oder einen punkt wähle.

Was machst du genau?

  const zahl=10.44
  MsgBox format(zahl,"#.00") // 10,44
  MsgBox format(zahl,"#,00") // 10
  
Mfg
Christian

-- 
Nine thousand functions in one REALbasic plug-in. The MBS Plugin.
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>

<Prev in Thread] Current Thread [Next in Thread>