Formulas at command line like Solidworks

Is it possible to enter formulas at the command line in response to a request for distance?  For example, I want to offset a line the equivelent of (5.2 / 3) or 1.7334.  This can come in handy even during an array where you know the overall distance and how many you want or when entering mm into us drawings.  (Yes, I know you can calculate it ahead of time and enter the result in).

Thank you