Skip to the content.

Milligram

Generally

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

Properties

Declared

Name Type Read Write DefaultValue
         

Inherited

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

UML Diagram

Milligram.png


Code Example

An example or code snippet follows soon.

Console Example

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

JSON Example

{
  "Prefix": "Milli",
  "Unit": "g",
  "Value": 123.0
}

YAML Example

Prefix:
  Name: Milli
  Symbol: m
  Factor: 0.001
Unit: g
Value: 123