Foren: Forum of Decimal BASIC (Thread #43810)

Floating Dollar Sign? (2021-03-13 02:53 by toml12953 #87158)

Is there a way to get a floating dollar sign in Decimal BASIC?

Example (in most other BASICs)

PRINT USING "$$###,###,###.##"; 1234.657
$1,234.66

In Decimal BASIC:

PRINT USING "$$###,###,###.##": 1234.657
$ 1,234.66

I'd like to keep the dollar sign right up against the number.

Reply to #87158×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden

Re: Floating Dollar Sign? (2021-03-13 06:37 by SHIRAISHI Kazuo #87159)

On Option Menu
Compatibility - Behavior - Compatibility with ISO(ANSI) - Formatting for #
switch to disregarding ISO.
Reply to #87158

Reply to #87159×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden