11 lines
231 B
C#
11 lines
231 B
C#
using bts.co2;
|
|
|
|
using System;
|
|
|
|
namespace mbts.spark {
|
|
static class TradeMessageExtensions {
|
|
public static double price(this TradeMessageImmutable trade) =>
|
|
trade.Mantissa * Math.Pow(10, trade.Exponent);
|
|
}
|
|
}
|