fn as_int(v: &CosemDataType) -> Option<i128>
The integer value of a numeric COSEM type, if it is one.