--- Jan Schenkel <[EMAIL PROTECTED]> wrote: > --- Esa_Kivel� <[EMAIL PROTECTED]> wrote: > > [snip] > > > function Conv4Disp pNumber > > > replace "." with "," in pNumber > > > return pNumber > > > end Conv4Disp > > > function Conv4Calc pNumber > > > replace "," with "." in pNumber > > > return pNumber > > > end Conv4Calc > > > > > > Hope this helped, > > > > Nope it dosen't. How I can calcalte desimal > numbers > > fron text filed and put the results to the text > > field? I can put ie. 2,4 directly into text field > > without any convert? > > > > Hi Esa, > > Using the functions above, try this: > > put Conv4Calc(field "Number1") into tNumber1 > put Conv4Calc(field "Number2") into tNumber2 > put Conv4Disp(tNumber1 + tNumber2) into field \ > "Result" >
Just to clarify things: there is no global setting for the decimal point. It would be nice if one could set the decimalPoint to "," But as this would in turn cause other headaches, I think we'll have to convert things back and forth. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
