float question rep

5 views
Skip to first unread message

Bohms, H.M. (Michel)

unread,
Nov 5, 2020, 5:03:04 AM11/5/20
to topbrai...@googlegroups.com

If I have 1.1E5

 

Is there a better float value then 110000 that is accepted involving “E“?

 

(I have seen a similar question earlier on the list but cannot find it anymore….)

 

In xsd spec I saw:

“For example, -1E4, 1267.43233E12, 12.78e-2, 12 , -0, 0 and INF are all legal literals for float.”

 

But that seems not accepted:

 

 

Thx Michel

 

 

Dr. ir. H.M. (Michel) Bohms
Scientist Specialist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
michel...@tno.nl

Location

 

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

 

David Price

unread,
Nov 5, 2020, 5:15:54 AM11/5/20
to topbrai...@googlegroups.com
Hi Michel,

Seems you’ve set rdf:value to be xsd:decimal. There would be an F not a 0 for xsd:float.


Cheers,
David

Begin forwarded message:
-- 
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/d01e2ee63f3a4d269d237967cf1456b8%40tno.nl.


Bohms, H.M. (Michel)

unread,
Nov 5, 2020, 6:02:32 AM11/5/20
to topbrai...@googlegroups.com

Thx!

 

I actually changed range to xsd:float but still had this problem

 

Caused by fact that I changed value instead of deleting first and create a new (float now)!

 

Thx all ok now, Michel

 

 

Dr. ir. H.M. (Michel) Bohms
Scientist Specialist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
michel...@tno.nl

Location

 

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

 

Reply all
Reply to author
Forward
0 new messages