Click or drag to resize

TemperatureToNumericString Method

Returns a non-null, non-empty string representation of the numeric base-temperature value, like "50" or "15.5" or "-5" or "33.1", in a format suitable for insertion into the appropriate unit-specific element(s) of the request XML.

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public string ToNumericString()

Return Value

String
Remarks

The request XML requires that base temperatures be whole numbers or numbers with a maximum of 1 digit after the decimal point, with "." for any decimal separator, and no thousands separator. This method is built to satisfy those requirements.

See Also