Re: Converting Number To Text
- From: "Matt Wills" <Im@xxxxxxxx>
- Date: Fri, 27 Jan 2006 12:52:37 GMT
Glad to hear it.
I started fiddling with an option to return either as moeny or straight
decimal and ran into a major rewrite.
I got it to the point where 123.15 would be "One Hundred Twenty Three
point Fifteen" but certain other differences between money and straight
decimals got complicated:
As money, 123.5 would be "One Hundred Twenty Three Dollars and Fifty
Cents." As a decimal, it would be expressed as "One Hundred Twenty
Three point Five." On the other hand, as money, 123.05 is "One Hundred
Twenty Three Dollars and Five Cents", but as a decimal would be
expressed "One Hundred Twenty Three point Zero Five."
Too much for me right now. Recuperating from heart surgery, the pain
meds fog me up.
Matt
Ben wrote:
> That was exactly what I needed.
>
> Thanks Matt
>
> Ben
>
> On 2006-01-27 12:12:07 +0000, "Matt Wills" <Im@xxxxxxxx> said:
>
> > Not without a lengthy calculation.
> >
> > There is a Custom Function at http://www.briandunning.com/cf/19 that
> > will work as a straight field calculation.
> >
> > As is, it is money-oriented, converting the number 123.15 to "One
> > Hundred Twenty Three Dollars and Fifteen Cents."
> >
> > If you don't want dollars and cents, there are a couple of Case
> > statements to remove, and probably change the "and" to "point"?
> >
> > Matt
> >
> > Ben wrote:
> >
> > > Hi
> > >
> > > Is it possible to have Filemaker convert a number to a text
> > > string, for example:
> > >
> > > 54 to fifty four
> > >
> > > TIA
> > >
> > > Ben
--
.
- Follow-Ups:
- Re: Converting Number To Text
- From: VoicesInMyHead
- Re: Converting Number To Text
- References:
- Re: Converting Number To Text
- From: Matt Wills
- Re: Converting Number To Text
- From: Ben
- Re: Converting Number To Text
- Prev by Date: Re: Finding the newest record...
- Next by Date: Re: FM7: IWP: Edit Box: Scoll Bar
- Previous by thread: Re: Converting Number To Text
- Next by thread: Re: Converting Number To Text
- Index(es):
Relevant Pages
|