2020-01-30 11:41:24 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package decimal;
|
2020-03-31 06:58:22 +00:00
|
|
|
option go_package = "github.com/nspcc-dev/neofs-api-go/decimal";
|
2020-02-05 12:14:39 +00:00
|
|
|
option csharp_namespace = "NeoFS.API.Decimal";
|
2020-01-30 11:41:24 +00:00
|
|
|
|
2020-08-05 17:21:36 +00:00
|
|
|
// Decimal represents the decimal numbers.
|
2020-01-30 11:41:24 +00:00
|
|
|
message Decimal {
|
2020-08-05 17:21:36 +00:00
|
|
|
// Value carries number value.
|
2020-01-30 11:41:24 +00:00
|
|
|
int64 Value = 1;
|
2020-08-05 17:21:36 +00:00
|
|
|
|
|
|
|
// Precision carries value precision.
|
2020-01-30 11:41:24 +00:00
|
|
|
uint32 Precision = 2;
|
|
|
|
}
|