[AGENT++] (no subject)
Fehde, Marcus
Marcus.Fehde at draeger.com
Wed Aug 30 08:55:14 CEST 2006
Hi Dario,
There's no native float-type available. We defined a textual convention
for float-type values basing on OCTET STRING:
Float ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION "Character string representation of a float (real)
value.
Format: [-]d[d...].d[d...] or ''
The string may be '' to encode unavailable values.
"
SYNTAX OCTET STRING
Another solution could be a binary encoding following the IEEE
definition of a float or double representation.
It depends on your use case which one is appropriate. If you want to
display those values directly I would choose the first one.
Regards,
Marcus
-----Original Message-----
From: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org]
On Behalf Of Dario maljur
Sent: Mittwoch, 30. August 2006 08:41
To: agentpp at agentpp.org
Subject: [AGENT++] (no subject)
Hi.
Maybe this is stupid question, but how do I manage floating point
values?
Through strings?
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
Url: http://lists.agentpp.org/pipermail/agentpp/attachments/20060830/9e1c27ad/attachment.txt
More information about the AGENTPP
mailing list