PbBlobExtensions.Real(this PbBlob pbBlob) Method
.NET Standard 2.x
Obtains a real value that is stored in a PbBlob.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static float? Real(this PbBlob pbBlob);
Parameters
pbBlob
PowerScript.Bridge.PbBlob
A PbBlob in which the first value is a float value. The rest of the contents of PbBlob is ignored.
Returns
System.Single
Returns the value of pbBlob as a float. If pbBlob is not a valid number or if it contains an incompatible datatype, Real returns 0
. If pbBlob is null, Real returns null.
Examples
Coming soon.
Applies to
.NET Standard
2.x