Sorry to intrude, but you can also get: enum newton = 1.kg/m/s^^2;
Good point. I actually learned D had an exponentiation operator just yesterday. It definitely helps readability in this case.
Mason McGill via Digitalmars-d Fri, 06 Jun 2014 15:21:07 -0700
Sorry to intrude, but you can also get: enum newton = 1.kg/m/s^^2;
Good point. I actually learned D had an exponentiation operator just yesterday. It definitely helps readability in this case.