******************************************
f3.py 
******************************************
function to format a number for printing
******************************************
This function formats any number into a string
   that is 10 characters long.
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
****************************************************************
It is mentioned in the following articles:
	155 Libraries  (latest code)
	174 IX package  see f3()
	177 ... RP2040
	190 IX functions List
	212 Script testing of Software
	215 Software for Raspberry
	215 Software for Raspberry (this article)
****************************************************************

****************************************************************
stored in package ix_py.py
****************************************************************
/f3.txt