Are there any components to format phone number in ionic ? - ionic-framework

I have a phone number in this format +11234567890. I want to show this as +1-123-456-7890 or just 123-456-7890 in Angular5/Ionic. Are there any components available to format phone numbers in required format? Or is there any method to achieve this.

https://github.com/amarkes/br-masker-ionic-3 also, you can create a mask .

Related

Data Studio custom Number Format

How can I set thousand separators in Google Data studio. Instead of 203,206,502 I want to show 20,32,06,502. Kindly help
Set number to currency. in my case peso PHP

Drupal 8 Thunder : how to display only date without time for articles?

I am using Drupal 8 Thunder with the newsplus lite theme and would like to display everywhere only date without time.
Many thanks in advance.
Configure a new date-time format using /admin/config/regional/date-time
Put m/d/Y as a value for this new format.
Then configure the display of your nodes types and set this format for your date field.

How can I process Persian texts using Rapid Miner?

I am working on a persian classification project. Persian texts is very similar to arabic texts. when I use Tokenize, it does not show any word in its wordlist page and in Example Set Page, The Image below will be shown:
I need to classify persian text to some category, but I dont know How?.
I Follow some steps like this:
1- Read Excel(using Read Excel component) dataset with 2 column => col1:persian Text ,col2: Category
2- I use Set role component to labeling data
3- I use Process Documents from Data component containing :(Tokenize(with any mode not change anythings) and Filter Token(min:5,max:25) inside it)
4- Then I use Cross Validation Component to train with SVM or Basian and in test mode to get performance.
The program runs correctly and performance is not bad for e.g accuracy is 50% but I think my work is Wrong.
Any help would be appreciated.
first, make sure your text data have UTF-8 encoding
and if u use filter tokens(by length) 5 is too much for minimum try 2 or at least 3
also, I recommend using Filter Stopwords (Dictionary) operator and the dictionary should have Persian stopwords in each line
hope it will help u

Display thousound with point in Google chart API

is there a way to display a thousand number in the format 1.200,55 instead of 1,200.55?
Thanks in advance for any help.
There is a section in the documentation about numberformats. What you'd need to set are decimalSymbol and groupingSymbol.
var formatter = new google.visualization.NumberFormat(
{decimalSymbol: ',', groupingSymbol: '.'});
Found another way in order to customize text for a country or language, affecting the formatting of values such as currencies, dates, and numbers.
https://developers.google.com/chart/interactive/docs/basic_load_libs#loadwithlocale

Google sheets date format change

Google sheets default date format is 11/05/2014 I want it be like 12-Apr-2014
I already have done date format change but its not working.
Can anyone please tell me how do I change it?
Thanks
The formula would be
=TEXT(A1, "DD-MMM-YYYY")
This is considering that your date is in cell A1.