Hi > -- . Example: > -- . > -- . var sword BHL = -684 > -- . > -- . -- send the signed word to the LCD display >> -- . -- total field width 6 chars > > -- . -- with 2 digits behind the decimal point > -- . format_sword_dec(LCD_char,BHL,6,2) >
Joep, could you adjust n_tot to indicate the total field width, including the decimal point? This is more consistent with Python (C?) %fx.y formatting. --- ir EE van Andel [EMAIL PROTECTED] http://www.fiwihex.nl Fiwihex B.V. Wierdensestraat 74, NL7604BK Almelo, Netherlands tel+31-546-491106 fax+31-546-491107 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
