0

Closed

Handling combined units with user defined unit and physical unit; eg USD/s or USD/Kg

description

Handling combined units with user defined unit and physical unit; eg USD/s or USD/Kg.

In calculator:
Unit USD


PhysCalculator ready
|>unit USD
Unit 'USD' declared.
|>1500 USD /0.23 Kwh
System.NullReferenceException Exception Source: PhysicalMeasure - System.NullReferenceException:
PhysicalMeasure.PhysicalUnit.CombineUnits(IPhysicalUnit u1, IPhysicalUnit u2, CombineExponentsFunc cef, CombineQuantitiesFunc cqf) PhysicalMeasure.cs:linje 1660
PhysicalMeasure.PhysicalUnit.Divide(IPhysicalUnit physicalUnit) PhysicalMeasure.cs:linje 1876
PhysicalMeasure.PhysicalUnit.Divide(Double quantity, IPhysicalQuantity physicalQuantity) PhysicalMeasure.cs:linje 1889
PhysicalMeasure.PhysicalQuantity.Divide(IPhysicalQuantity physicalQuantity) PhysicalMeasure.cs:linje 4913
PhysicalCalculator.Expression.PhysicalExpression.ParseExpression(String& commandLine, String& resultLine) PhysCalculator\PhysCalc\PhysicalExpression.cs:linje 859
PhysicalCalculator.Expression.PhysicalExpression.ParseConvertedExpression(String& commandLine, String& resultLine) PhysCalculator\PhysCalc\PhysicalExpression.cs:linje 228
PhysicalCalculator.PhysCalculator.GetPhysicalQuantity(String& commandLine, String& resultLine) PhysCalculator\PhysCalc\PhysCalculator.cs:linje 1071
PhysicalCalculator.PhysCalculator.CommandPrint(String& commandLine, String& resultLine) PhysCalculator\PhysCalc\PhysCalculator.cs:linje 954
PhysicalCalculator.PhysCalculator.Command(String& commandLine, String& resultLine) PhysCalculator\PhysCalc\PhysCalculator.cs:linje 299
PhysicalCalculator.PhysCalculator.ExecuteCommands(CalculatorEnvironment localContext, Commandreader commandLineReader, ResultWriter resultLineWriter) PhysCalculator\PhysCalc\PhysCalculator.cs:linje 194
Closed Oct 25, 2014 at 1:50 PM by KiloBravo

comments