Computation, type casting

Hello,

Is is possible to make operation (add, multiply, divide, subtract) on large numbers (variables) and then feed specific parameters into functions (possible to change variable type in the process i.e. float into distance, integer)?