Skip to content

Digit check and formatting on Brazilian Individual Taxpayer Registry (CPF).

Notifications You must be signed in to change notification settings

Robson-Rocha/net-Cpf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Cpf

Digit check and formatting on Brazilian Individual Taxpayer Registry (CPF).

Usage

using CpfLibrary;

Cpf.Check("29594421134");    // True
Cpf.Check("488.081.131-91"); // True
Cpf.Check("00000000000");    // False
Cpf.Check("lol");            // False

Cpf.Format("29594421134"); // "295.944.211-34"
Cpf.Format("lol");         // "lol"

About

Digit check and formatting on Brazilian Individual Taxpayer Registry (CPF).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%