>>I'm trying to find a function in VFP8 that will return the decimal part of a number. eg 89.55 Should return 55
>
>Try this.
>
>val(GetWordNum( translate( 89.55 ),2,'.'))
>
>but it will only work in VFP 7.0 or greater. For VFP 6.0, you need to use the WordNum() in Foxtools.fll instead of GetWordNum().
Sorry, I used the wrong function. Try this
val(GetWordNum( transform( 89.55 ),2,'.'))
Greg Reichert