Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
SignedRational.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
4
6{
10 public class SignedRational
11 {
12 private readonly int numerator;
13 private readonly int denominator;
14
21 {
22 this.numerator = Numerator;
23 this.denominator = Denominator;
24 }
25
29 public int Numerator => this.numerator;
30
34 public int Denominator => this.denominator;
35
37 public override string ToString()
38 {
39 return this.numerator.ToString() + "/" + this.denominator.ToString();
40 }
41 }
42}
Represents an EXIF SRATIONAL value.
int Numerator
Typed EXIF Tag Value Numerator
int Denominator
Typed EXIF Tag Value Denominator
SignedRational(int Numerator, int Denominator)
Represents an EXIF RATIONAL value.