What exactly do you mean. Give us examples.
Depends upon the precision. Divide by 100 for precision of 2, or 1000 for precision of 3 and so on.
Also specify the length and precision in the output sql type.
Regards,
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.