Documentation/SL/How Tos/Calc: Funkcija CONVERT ADD

From Apache OpenOffice Wiki
Jump to: navigation, search


CONVERT_ADD

Pretvori število iz enega merskega sistema v drugega.

Ta funkcija je na voljo le, če je nameščen Dodatek za analizo (Analysis AddIn).

Skladnja:

CONVERT_ADD(število; izvorneenote; noveenote)

število je število, ki ga želimo pretvoriti.
izvorneenote in noveenote so besedilo, ki predstavlja izvorni in novi merski sistem. These are case-sensitive, and must be selected from the table below. Units in bold accept an optional prefix as a decimal multiplier from the table below that.
lastnost enote
teža g, sg, lbm, u, ozm, stone, ton, grain, pweight, hweight, shweight, brton
dolžina m, mi, Nmi, in, ft, yd, ang, Pica, ell, parsec, lightyear, survey_mi
čas yr, day, hr, mn, sec, s
pritisk Pa, atm, at, mmHg, Torr, psi
sila N, dyn, dy, lbf, pond
energija J, e, c, cal, eV, ev, HPh, Wh, wh, flb, BTU, btu
moč W, w, HP, PS
jakost polja T, ga
temperatura C, F, K, kel, Reau, Rank
prostornina l, L, lt, tsp, tbs, oz, cup, pt, us_pt, qt, gal, m3, mi3, Nmi3, in3, ft3, yd3, ang3, Pica3,

barrel, bushel, regton, Schooner, Middy, Glass

površina m2, mi2, Nmi2, in2, ft2, yd2, ang2, Pica2, Morgen, ar, acre, ha
hitrost m/s, m/sec, m/h, mph, kn, admkn
informacija bit, byte
The above units may be preceded by a decimal multiplier. For example k (kilo) is the prefix for 103 - so km means kilometres. If the unit is a measure of area the multiplier is squared, and if it is a measure of volume the multiplier is cubed. For example km2 means square kilometres, that is 106 square metres. The following table lists the prefixes:
predpona < 1 y (10-24), z (10-21), a (10-18), f (10-15), p (10-12), n (10-9), u (10-6), m (10-3), c (10-2), d (10-1)
predpona > 1 e (101), h (102), k (103), M 106), G (109), T (1012), P (1015), E (1018), Z (1021), Y (1024)

Primer:

CONVERT_ADD(120;"in";"ft")

vrne 10, število stopal v 120 palcih.

CONVERT_ADD(10;"yd";"cm")

vrne 914,4, to je 10 jardov, izraženih v centimetrih.

Issues:

  • Iz zgodovinskih razlogov številne enote ne uporabljajo standardiziranih mednarodnih okrajšav.
  • Ta funkcija v splošnem ni združljiva z drugimi preglednicami.


Template:Documentation/SeeAlso

Personal tools