Trig functions outputting integers

Whenever I use any of the math.trig functions, I can only get it to return some form of int.

You’re actually looking at what the print function does with it, and you haven’t told print what it is, or how to format it. First google hit for me looks fine: Formatting Numbers for Printing in Python

This appears to be in vex vr. If so, there is an optional parameter in the print function that allows you to control how precise the output is.

brain.print(math.sin(0.4), precision=2)