Latest update

- Can unlimited liability companies be present at the stock exchange?
- Error message when displaying algorithm
- Extra blank line at the end of a paragraph (reledpar / reledmac)
- Examples of luatex callback with lualatex
- bad format of an array using latex
- Tiny, tightly spaced, unnumbered footnotes in beamer presentation (possibly with columns)
- \gls in a special environment
- good way to horizontally align enumerate items
- Unicode encoding problem in ogo2ogr GeoJSON export from PostGIS
- Geoserver polygon labeling Arabic numbers using SLD
- Random selection of points in SpatialPointsDataFrame R object with distance constraint
- Heatmap of events, I can't get the right resolution
- How to wire switch for outside motion sensing light
- Reconstructing a non-$\omega$-categorical countable structure from its automorphism group
- Proof: if there is path independence in a vector field F on an open connected region D, then F is conservative ?
- Stirling numbers Sum
- How to prove isomorphism for rings in Galois Theory?
- Conditional Probability — Card Question
- Does the dynamics of this Fund follow a GBM?
- Is my transformation of (A∨B∨C)∧(¬A∨(¬C∧¬B) to get disjunctive NF (using distributive law) right?

# Woocommerce custom calculation function

2018-06-24 18:31:35

i need some help to add one function in my functions.php.

I think is simple but can't figure how.

Funtion:

$price our $sale_price in native currency

and multiply to a value in $some_currency_exchange (output a integer)

basic

$price * $some_currency_exchange_rate

Thank you