>>*_______________________________________________________________________________ >function C_printf( out, sformat, p1, p2) >if vartype (m.p2)=="C" > declare integer sprintf in msvcrt.dll as sPrintf_str_str ; > string@, string, string, string > > return sPrintf_str_str (@m.out, m.sformat, m.p1, m.p2) > >else > declare integer sprintf in msvcrt.dll as sPrintf_str_int ; > string@, string, string, integer > > return sPrintf_str_int(@m.out, m.sformat, m.p1, cast(m.p2 as I)) > >endif >*_______________________________________________________________________________ >Did you see my question about decimal parameter? I've tried using word decimal and word float, none worked.
%.2f will be loaded onto your account.or
Your %s card will be charged %.2f for this transaction.