#selectCode_f3_macro.py
  1. f3()


    -- end of f3_py.py program in 01

    Purpose: converts a number to a string with format -999999.999 for subsequent printing
    Form: f3(inObj) -> text
    Reason: eliminates useless digits to the right of the decimal
    Summary: converts a number < 1 million to a string with 3 digits right of .)
    Example: txtStr = f3(-743.48637954) # will produce " -743.486"
    Warning 1: if parameter is > +999999 or < -999999 it retains some significant digits and an exponent
    Warning 2: if parameter is < +.001 or > -.001 it retains some significant digits and an exponent
    Error 2: if parameter is not type: int,float (incl scientific), str, bool. it returns "f3:Bad Type".
    Note 1: does not fail if given a parameter of bad type
    Requires:
    import ix_py
    Python Verson: 3
    Globals: none
    External Functions: none
    Imports: none
    Classes: none
    Files: none
    Version: none
    For: PiR2 Area Controller and Mak Pi ADC
    Repository: ix_py.py Function Library
    Author: D@CC ( David@ColeCanada.com )
    Date Created : 2021BFeb21
    Date Tested  : na
    Date Modified: 2021BFeb21
    Code: f3() by D@CC (David at ColeCanada.com)

#/selectCode_f3_macro.py