forked from TrueCloudLab/frostfs-api
[#33] decimal: Improve comments
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
1f0e5b6160
commit
0f478ffaa6
1 changed files with 4 additions and 3 deletions
|
@ -3,10 +3,11 @@ package decimal;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api-go/decimal";
|
option go_package = "github.com/nspcc-dev/neofs-api-go/decimal";
|
||||||
option csharp_namespace = "NeoFS.API.Decimal";
|
option csharp_namespace = "NeoFS.API.Decimal";
|
||||||
|
|
||||||
// Decimal is a structure used for representation of assets amount
|
// Decimal represents the decimal numbers.
|
||||||
message Decimal {
|
message Decimal {
|
||||||
// Value is value number
|
// Value carries number value.
|
||||||
int64 Value = 1;
|
int64 Value = 1;
|
||||||
// Precision is precision number
|
|
||||||
|
// Precision carries value precision.
|
||||||
uint32 Precision = 2;
|
uint32 Precision = 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue