Project

General

Profile

« Previous | Next » 

Revision 5559

schemas/functions.sql: Added _ft_to_m()

View differences:

schemas/functions.sql
91 91

  
92 92

  
93 93
--
94
-- Name: _ft_to_m(double precision); Type: FUNCTION; Schema: functions; Owner: -
95
--
96

  
97
CREATE FUNCTION _ft_to_m(value double precision) RETURNS double precision
98
    LANGUAGE sql IMMUTABLE STRICT
99
    AS $_$
100
SELECT functions._in_to_m($1*12)
101
$_$;
102

  
103

  
104
--
105
-- Name: _ft_to_m(text); Type: FUNCTION; Schema: functions; Owner: -
106
--
107

  
108
CREATE FUNCTION _ft_to_m(value text) RETURNS double precision
109
    LANGUAGE sql IMMUTABLE STRICT
110
    AS $_$
111
SELECT functions._ft_to_m($1::double precision)
112
$_$;
113

  
114

  
115
--
94 116
-- Name: _ha_to_m2(double precision); Type: FUNCTION; Schema: functions; Owner: -
95 117
--
96 118

  

Also available in: Unified diff