26.01.2018 16:17, Salim Naufal s.nau...@softnet.me [firebird-support] wrote:
> I am not familiar with the details of the SQL standard, is this the proper 
> was to round 
> and calculate numeric values in SQL?

   Yes. In your first examples you don't use floating point numbers, but exact 
decimals. 
SQL standard rules say that result of calculations on decimals is a decimal of 
appropriate 
precision.


-- 
   WBR, SD.


------------------------------------

------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-support/join
    (Yahoo! ID required)

<*> To change settings via email:
    firebird-support-dig...@yahoogroups.com 
    firebird-support-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    firebird-support-unsubscr...@yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/

  • [firebird-support... Salim Naufal s.nau...@softnet.me [firebird-support]
    • Re: [firebir... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
    • Re: [firebir... Helen Borrie hele...@iinet.net.au [firebird-support]
      • Re: [fir... Salim Naufal s.nau...@softnet.me [firebird-support]
      • Re: [fir... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
    • Re: [firebir... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
    • Re: [firebir... Salim Naufal s.nau...@softnet.me [firebird-support]

Reply via email to