Hi All,
I'd appreciate your help to customise the small Print_Using.bas sample provided in the post above to be able to pass to the main function Print_Using(nb#) two new parameters that would be used by the two other functions IntPart(nb#) and DecPart(nb#) :
1) the character to be used as the decimal separator of the decimal part of a float (that could be a point "." or a comma ",")
2) the character to be used as the interger group separator (that could be empty if you don't want a group separator).
The goal is to use something like this:
nb# = 12345.678
IntSeparator$ = ","
DecSeparator$ = "."
Print_Using(nb#, IntSeparator$, DecSeparator$)
DecPart(nb#, DecSeparator$)
InnPart(nb#, IntSeparator$)
I've tried different solutions but I can't get the result I'm expecting since I'm not QB64 fluent enough.
Any help would be appreciated.
Best regards.