Project

General

Profile

« Previous | Next » 

Revision 4863

schemas/functions.sql: Added _in_to_m()

View differences:

schemas/functions.sql
128 128

  
129 129

  
130 130
--
131
-- Name: _in_to_m(double precision); Type: FUNCTION; Schema: functions; Owner: -
132
--
133

  
134
CREATE FUNCTION _in_to_m(value double precision) RETURNS double precision
135
    LANGUAGE sql IMMUTABLE STRICT
136
    AS $_$
137
SELECT $1*2.54/100.
138
$_$;
139

  
140

  
141
--
142
-- Name: _in_to_m(text); Type: FUNCTION; Schema: functions; Owner: -
143
--
144

  
145
CREATE FUNCTION _in_to_m(value text) RETURNS double precision
146
    LANGUAGE sql IMMUTABLE STRICT
147
    AS $_$
148
SELECT functions._in_to_m($1::double precision)
149
$_$;
150

  
151

  
152
--
131 153
-- Name: _join(anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement, anyelement); Type: FUNCTION; Schema: functions; Owner: -
132 154
--
133 155

  

Also available in: Unified diff