Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: 0 at the end
From: Helen Triolo
Date: Thu, 4 May 2000 23:58:10 +0100

>From
http://www.macromedia.com/support/flash/ts/documents/decimal_places.htm:

Set Variable: "testString" = testValue*100
Set Variable: "testLength" = Length(testString)
Set Variable: "testValue" = Substring(testString,1,testLength-2) & "." &
Substring(testString,testLength-1,2)

hth,
Helen
----------------------------------------
helen triolo � http://i-technica.com
designerati-technica [dot] com � 301-424-6037
----------------------------------------

matthew rowe wrote:
>
> hi-
> im having flash calaulate a subtotal to display on screen.
> the problem is when it displays a price with a zero at the
> end like "112.50" it drops the zero. would anyone happen to
> know of a way to always show the subtotal in a price format?
> thank you
> matt
>

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: 0 at the end, matthew rowe

Replies
  FLASH: 0 at the end, matthew rowe

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]