## xs:double Server Expression

A server expression that returns a value of (or implicitly castable to) the xs:double server type. For all server types, see the Server Expression Type Hierarchy.

### Cast With

Server Return Type | Server Function | Java Doc
--- | --- | ---
xs:double? | xs:double(item arg1?) | java

### Parameter Of

Server Return Type | Server Function | Java Doc | Server Doc
--- | --- | --- | ---
cts:query | cts:column-range-query(xs:string schema, xs:string view, xs:string column, xs:anyAtomicType value*, xs:string operator?, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-attribute-pair-geospatial-query(xs:QName element-name*, xs:QName latitude-name*, xs:QName longitude-name*, cts:region region*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-attribute-range-query(xs:QName element-name*, xs:QName attribute-name*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-attribute-value-query(xs:QName element-name*, xs:QName attribute-name*, xs:string text*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-attribute-word-query(xs:QName element-name*, xs:QName attribute-name*, xs:string text*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-child-geospatial-query(xs:QName element-name*, xs:QName child-name*, cts:region region*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-geospatial-query(xs:QName element-name*, cts:region region*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-pair-geospatial-query(xs:QName element-name*, xs:QName latitude-name*, xs:QName longitude-name*, cts:region region*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-range-query(xs:QName element-name*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-value-query(xs:QName element-name*, xs:string text*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-word-query(xs:QName element-name*, xs:string text*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:field-range-query(xs:string field-name*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:field-value-query(xs:string field-name*, xs:anyAtomicType text*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:field-word-query(xs:string field-name*, xs:string text*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:geospatial-region-query(cts:reference reference*, xs:string operation, cts:region region*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:json-property-child-geospatial-query(xs:string property-name*, xs:string child-name*, cts:region region*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:json-property-geospatial-query(xs:string property-name*, cts:region region*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:json-property-pair-geospatial-query(xs:string property-name*, xs:string latitude-name*, xs:string longitude-name*, cts:region region*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:json-property-range-query(xs:string property-name*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:json-property-value-query(xs:string property-name*, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:json-property-word-query(xs:string property-name*, xs:string text*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:lsqt-query(xs:string temporal-collection, xs:dateTime timestamp?, xs:string options*, xs:double weight?) | java | server
cts:query | cts:near-query(cts:query queries*, xs:double distance?, xs:string options*, xs:double weight?) | java | server
cts:query | cts:path-geospatial-query(xs:string path-expression*, cts:region region*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:path-range-query(xs:string path-name*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:range-query(cts:reference index*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:triple-range-query(xs:anyAtomicType subject*, xs:anyAtomicType predicate*, xs:anyAtomicType object*, xs:string operator*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:word-query(xs:string text*, xs:string options*, xs:double weight?) | java | server
cts:box | cts:box(xs:double south, xs:double west, xs:double north, xs:double east) | java | server
cts:circle | cts:circle(xs:double radius, cts:point center) | java | server
cts:point | cts:point(xs:double latitude, xs:double longitude) | java | server
xs:integer | fn:count(item arg*, xs:double maximum?) | java | server
cts:polygon | geo:circle-polygon(cts:circle circle, xs:double arc-tolerance, xs:string options*) | java | server
cts:point | geo:destination(cts:point p, xs:double bearing, xs:double distance, xs:string options*) | java | server
xs:double | geo:distance-convert(xs:double distance, xs:string unit1*, xs:string unit2*) | java | server
cts:polygon | geo:ellipse-polygon(cts:point center*, xs:double semi-major-axis, xs:double semi-minor-axis, xs:double azimuth, xs:double arc-tolerance, xs:string options*) | java | server
cts:region | geo:region-approximate(cts:region region, xs:double threshold, xs:string options*) | java | server
xs:double | math:acos(xs:double x) | java | server
xs:double | math:asin(xs:double x) | java | server
xs:double | math:atan(xs:double x) | java | server
xs:double | math:atan2(xs:double y, xs:double x) | java | server
xs:double | math:ceil(xs:double x) | java | server
xs:double | math:cos(xs:double x) | java | server
xs:double | math:cosh(xs:double x) | java | server
xs:double | math:cot(xs:double x) | java | server
xs:double | math:degrees(xs:double x) | java | server
xs:double | math:exp(xs:double x) | java | server
xs:double | math:fabs(xs:double x) | java | server
xs:double | math:floor(xs:double x) | java | server
xs:double | math:fmod(xs:double x, xs:double y) | java | server
item+ | math:frexp(xs:double x) | java | server
xs:double | math:ldexp(xs:double y, xs:integer i) | java | server
xs:double | math:log(xs:double x) | java | server
xs:double | math:log10(xs:double x) | java | server
xs:double? | math:median(xs:double arg*) | java | server
xs:double+ | math:modf(xs:double x) | java | server
xs:double* | math:percentile(xs:double arg*, xs:double p*) | java | server
xs:double | math:pow(xs:double x, xs:double y) | java | server
xs:double | math:radians(xs:double x) | java | server
xs:double | math:sin(xs:double x) | java | server
xs:double | math:sinh(xs:double x) | java | server
xs:double | math:sqrt(xs:double x) | java | server
xs:double? | math:stddev(xs:double arg*) | java | server
xs:double? | math:stddev-p(xs:double arg*) | java | server
xs:double | math:tan(xs:double x) | java | server
xs:double | math:tanh(xs:double x) | java | server
xs:double? | math:variance(xs:double arg*) | java | server
xs:double? | math:variance-p(xs:double arg*) | java | server

### Return Value Of

Server Return Type | Server Function | Java Doc | Server Doc
--- | --- | --- | ---
xs:double | fn:number(item arg?) | java | server
xs:double | geo:bearing(cts:point p1, cts:point p2, xs:string options*) | java | server
xs:double | geo:distance(cts:point p1, cts:point p2, xs:string options*) | java | server
xs:double | geo:distance-convert(xs:double distance, xs:string unit1*, xs:string unit2*) | java | server
xs:double* | geo:geohash-precision-dimensions(xs:integer precision) | java | server
xs:double | geo:shortest-distance(cts:point p1, cts:region region*, xs:string options*) | java | server
xs:double | math:acos(xs:double x) | java | server
xs:double | math:asin(xs:double x) | java | server
xs:double | math:atan(xs:double x) | java | server
xs:double | math:atan2(xs:double y, xs:double x) | java | server
xs:double | math:ceil(xs:double x) | java | server
xs:double? | math:correlation(json:array arg*) | java | server
xs:double | math:cos(xs:double x) | java | server
xs:double | math:cosh(xs:double x) | java | server
xs:double | math:cot(xs:double x) | java | server
xs:double? | math:covariance(json:array arg*) | java | server
xs:double? | math:covariance-p(json:array arg*) | java | server
xs:double | math:degrees(xs:double x) | java | server
xs:double | math:exp(xs:double x) | java | server
xs:double | math:fabs(xs:double x) | java | server
xs:double | math:floor(xs:double x) | java | server
xs:double | math:fmod(xs:double x, xs:double y) | java | server
xs:double | math:ldexp(xs:double y, xs:integer i) | java | server
xs:double* | math:linear-model-coeff(math:linear-model linear-model) | java | server
xs:double | math:linear-model-intercept(math:linear-model linear-model) | java | server
xs:double | math:linear-model-rsquared(math:linear-model linear-model) | java | server
xs:double | math:log(xs:double x) | java | server
xs:double | math:log10(xs:double x) | java | server
xs:double? | math:median(xs:double arg*) | java | server
xs:double+ | math:modf(xs:double x) | java | server
xs:double? | math:percent-rank(xs:anyAtomicType arg*, xs:anyAtomicType value, xs:string options*) | java | server
xs:double* | math:percentile(xs:double arg*, xs:double p*) | java | server
xs:double | math:pi() | java | server
xs:double | math:pow(xs:double x, xs:double y) | java | server
xs:double | math:radians(xs:double x) | java | server
xs:double | math:sin(xs:double x) | java | server
xs:double | math:sinh(xs:double x) | java | server
xs:double | math:sqrt(xs:double x) | java | server
xs:double? | math:stddev(xs:double arg*) | java | server
xs:double? | math:stddev-p(xs:double arg*) | java | server
xs:double | math:tan(xs:double x) | java | server
xs:double | math:tanh(xs:double x) | java | server
xs:double? | math:variance(xs:double arg*) | java | server
xs:double? | math:variance-p(xs:double arg*) | java | server
xs:double | sem:random() | java | server