Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » LineEdit, EditFields, DocEdit » Is there a way to make EditDouble return 0 if it has no value?
Is there a way to make EditDouble return 0 if it has no value? [message #27596] Sun, 25 July 2010 10:13 Go to previous message
MatthiasG is currently offline  MatthiasG
Messages: 27
Registered: January 2008
Location: Germany
Promising Member
Hello,

as written in the topic, is there a way to let EditDouble return 0.0 for a field without a value in it? e.g. if i have two EditDouble fields d1 and d2, with d1 containing 1.0 and d2 has empty value, i want double d = d1 + d2 to return 1.0...

greetings,
Matthias
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Scan an timestamp
Next Topic: [FEATURE] Horizontal scroll on Shift+mouse wheel
Goto Forum:
  


Current Time: Fri Mar 29 16:48:38 CET 2024

Total time taken to generate the page: 0.02605 seconds