AnsweredAssumed Answered

vrf VRF Add hexadezimal datas

Question asked by martin.papproth on Aug 2, 2005
Hi Thomas,

well, there's no such thing as a datatype "hexadezimal"; hexadezimal is just a specific represenation ("visualization") of an integer value.
If you want to add literal hexadezimal values in a formula box you can just do so:
"0x0a + 0x04" should work and result in an integer value of 14.
You can convert the result back to a hexadezimal (string) representation with the IO/"To String" object with transaction Write/Text/HexFormat.
If you want to add two numbers given as hexadezimal string variables you can use the asInt32(x) function. (or the IO/From String, or build a string representation of your formula and pipe it into a formula object's formula control input pin).

br
Martin

-----Original Message-----
From: ext bounce-3489617-2542673@it.lists.it.agilent.com [mailto:bounce-3489617-2542673@it.lists.it.agilent.com]
Sent: Tuesday, August 02, 2005 4:08 PM
To: VRF
Subject: [vrf] [VRF] Add hexadezimal datas


Hello everybody,

is there a formula possibility to add values in the data format "hexadezimal" ?
Or can I change Integer to hexadezimal ?

regards Thomas

---
You are currently subscribed to vrf as: martin.papproth@nokia.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes