Skip to the content.

Gram

Generally

Property Value
Description This entity represents just a gram.
Namespace DoofesZeug.Entities.Science.Base.Weight
BaseClass MetricValueBase
SourceCode Gram.cs
See Also https://en.wikipedia.org/wiki/Gram

Properties

Declared

Name Type Read Write DefaultValue
         

Inherited

Name Type Read Write DefaultValue
Prefix UnitPrefix Base
Unit String g
Value Double 0

UML Diagram

Gram.png


Code Example

An example or code snippet follows soon.

Console Example

┌──────────┬───────┐
│ Property │ Value │
├──────────┼───────┤
│ Prefix   │ Base  │
│ Unit     │ g     │
│ Value    │ 42123 │
└──────────┴───────┘

JSON Example

{
  "Prefix": "Base",
  "Unit": "g",
  "Value": 42123.0
}

YAML Example

Prefix:
  Name: Base
  Symbol: ''
  Factor: 1
Unit: g
Value: 42123