தமிழ் இணையக் கல்விக்கழகம் - TAMIL VIRTUAL ACADEMY

மொழிகள்

Deep-Equal, Aggregate Functions, and Functions that Generate Sequences

Deep-Equal, Aggregate Functions, and Functions that Generate Sequences

avg((3,4,5))

from within a Java application, in order to extract the result from the result sequence, one would have to use this code:

double avg = ((XSDouble)rs.first()).doublevalue(); println(avg);

in order to get the result of ‘4.0’

Tags   :

புதுப்பிக்கபட்ட நாள் : 01-11-2016 14:33:15(இந்திய நேரம்)