Translations:Erweiterte Feldfunktionen/24/en: Unterschied zwischen den Versionen

Aus Wiki csv4you
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „Example 1 ... Add 100 to the current price: [math|price+100] Example 2 ... Multiply the current price by 1.5; use a dot as the decimal separator: [math|price…“)
 
 
Zeile 7: Zeile 7:
 
Example 4 ... Add/compute 4 values in one field: Import Price [price_list] + VAT [vat] + 20% surcharge + 5 (EUR) flat
 
Example 4 ... Add/compute 4 values in one field: Import Price [price_list] + VAT [vat] + 20% surcharge + 5 (EUR) flat
 
  [math|price_list*1.vat*1.2+5]
 
  [math|price_list*1.vat*1.2+5]
 +
Example 5 ... value in the cell 'Import Price' [price_list] is e.g. 'VK25.25'. This however can not be used for calculations, so 'VK' must be deleted to change the value into a number. 'VK' is therefore replaced by "nothing", hence deleted.
 +
A simple ''replace'' within ''math'' does not work though, so a special one must be used !:
 +
: Schema: [math|column(+ calculation(optional))|decimal separator|search value(| substitution value (optional))]
 +
  [math|price_list|.|VK]
 +
Example 6 ... the value in the cell 'Import Price' [price_list] is e.g. '30.50 USD '. The numeric $ value is to be converted, the decimal separator is to be replaced by the comma and 'USD' by 'EUR':
 +
: Schema: [math|column+calculation|decimal separator|search value(|substitute value optional)]
 +
  [math|price_list*0.9|,|USD|EUR]

Aktuelle Version vom 20. Januar 2017, 16:18 Uhr

Information zur Nachricht (bearbeiten)
Zu dieser Nachricht ist keine Dokumentation vorhanden. Sofern du weißt, wo und in welchem Zusammenhang sie genutzt wird, kannst du anderen Übersetzern bei ihrer Arbeit helfen, indem du eine Dokumentation hinzufügst.
Nachricht im Original (Erweiterte Feldfunktionen)
Beispiel 1... Addiere 100 auf den aktuellen Preis:
 [math|price+100]
Beispiel 2... Multipliziere den aktuellen Preis mit 1.5, benutze als Dezimaltrennzeichen den Punkt:
 [math|price*1.5|.]
Beispiel 3... Addiere Inhalte aus den Feldern 'price' und 'shippingCost':
 [math|price+shippingCost]
Beispiel 4... Addiere/berechne 4 Werte in einem Feld: Importpreis [price_list] + Mehrwertsteuer [vat] + 20% Aufschlag + 5 Euro pauschal
 [math|price_list*1.vat*1.2+5]
Beispiel 5... Wert in Importpreis [price_list] ist z.B. 'VK25.25'. 'VK' soll durch nichts ersetzt, also gelöscht werden (''replace'' innerhalb von ''math'' funktioniert nicht!):
:Schema: [math|Spalte+Berechnung|Dezimaltrenner|Suchwert(|Ersatzwert Optional)]
 [math|price_list|.|VK]
Beispiel 6... Wert in Importpreis [price_list] ist z.B. '30.50 USD '. 'USD' soll in EUR ersetzt, umgerechnet und Dezimaltrenner soll das Komma werden:
:Schema: [math|Spalte+Berechnung|Dezimaltrenner|Suchwert(|Ersatzwert Optional)]
 [math|price_list*0.9|,|USD|EUR]
ÜbersetzungExample 1 ... Add 100 to the current price:
 [math|price+100]
Example 2 ... Multiply the current price by 1.5; use a dot as the decimal separator:
 [math|price*1.5|.]
Example 3 ... Add the values of the cells 'price' and 'shipping cost':
 [math|price+shippingCost]
Example 4 ... Add/compute 4 values in one field: Import Price [price_list] + VAT [vat] + 20% surcharge + 5 (EUR) flat
 [math|price_list*1.vat*1.2+5]
Example 5 ... value in the cell 'Import Price' [price_list] is e.g. 'VK25.25'. This however can not be used for calculations, so 'VK' must be deleted to change the value into a number. 'VK' is therefore replaced by "nothing", hence deleted.
A simple ''replace'' within ''math'' does not work though, so a special one must be used !:
: Schema: [math|column(+ calculation(optional))|decimal separator|search value(| substitution value (optional))]
  [math|price_list|.|VK]
Example 6 ... the value in the cell 'Import Price' [price_list] is e.g. '30.50 USD '. The numeric $ value is to be converted, the decimal separator is to be replaced by the comma and 'USD' by 'EUR':
: Schema: [math|column+calculation|decimal separator|search value(|substitute value optional)]
  [math|price_list*0.9|,|USD|EUR]

Example 1 ... Add 100 to the current price:

[math|price+100]

Example 2 ... Multiply the current price by 1.5; use a dot as the decimal separator:

[math|price*1.5|.]

Example 3 ... Add the values of the cells 'price' and 'shipping cost':

[math|price+shippingCost]

Example 4 ... Add/compute 4 values in one field: Import Price [price_list] + VAT [vat] + 20% surcharge + 5 (EUR) flat

[math|price_list*1.vat*1.2+5]

Example 5 ... value in the cell 'Import Price' [price_list] is e.g. 'VK25.25'. This however can not be used for calculations, so 'VK' must be deleted to change the value into a number. 'VK' is therefore replaced by "nothing", hence deleted. A simple replace within math does not work though, so a special one must be used !:

Schema: [math|column(+ calculation(optional))|decimal separator|search value(| substitution value (optional))]
 [math|price_list|.|VK]

Example 6 ... the value in the cell 'Import Price' [price_list] is e.g. '30.50 USD '. The numeric $ value is to be converted, the decimal separator is to be replaced by the comma and 'USD' by 'EUR':

Schema: [math|column+calculation|decimal separator|search value(|substitute value optional)]
 [math|price_list*0.9|,|USD|EUR]