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