diff --git a/ts/index.ts b/ts/index.ts index ebdf1a5..be21747 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,3 +1,5 @@ import * as plugins from './smartmoney.plugins'; -export let standardExport = 'Hi there! :) This is an exported string'; +export const parseEuropeanNumberString = (europeanNumberString: string): number => { + return parseFloat(europeanNumberString.replace('.', '').replace(',', '.')); +};