Gang Of Coders
Home
About Us
Contact Us
All Formatting Solutions on Gang of Coders
Total of 209 Formatting Solutions
String.format() and hex numbers in Java
Java
String
Formatting
Hex
Twos Complement
Format SQL in SQL Server Management Studio
Sql Server
Formatting
Ssms
What does !r do in str() and repr()?
Python
String
Python 2.7
Formatting
Repr
Formatting of XML created by DataContractSerializer
C#
Xml
Formatting
Datacontractserializer
Print Currency Number Format in PHP
Php
Formatting
Currency
Printing leading zeroes for hexadecimal in C
C
Linux
Formatting
How does one output bold text in Bash?
Bash
Console
Formatting
Echo
Best JavaScript Date Parser & Formatter?
Javascript
Jquery
Datetime
Parsing
Formatting
Why should I use a human readable file format?
File
Encoding
Formatting
Binary
Abstraction
Format a number with commas and decimals in C# (asp.net MVC3)
C#
asp.net Mvc-3
Formatting
Number Formatting
Format-Table on Array of Hash Tables
Powershell
Formatting
how to get 2 digits after decimal point in tsql?
Sql Server
Tsql
Formatting
Where does Eclipse store preferences?
Java
Eclipse
Formatting
Eclipse Rcp
Settings
80-characters / right margin line in Sublime Text 3
Formatting
Coding Style
Sublimetext3
Sublimetext
Sublimetext4
Make a float only show two decimal places
Objective C
Formatting
Floating Point
SQL string formatter
Sql
Linux
Formatting
Code Formatting
Sprintf equivalent in Java
Java
String
Formatting
How can I pad an int with leading zeros when using cout << operator?
C++
Formatting
Cout
How do I print some text in bash and pad it with spaces to a certain width?
Bash
Variables
Printing
Formatting
Printf
How to right align level field in Python logging.Formatter
Python
Logging
Formatting
Regular Expression for formatting numbers in JavaScript
Javascript
Regex
Formatting
Formatting timedelta objects
Python
Datetime
Formatting
Formatting code snippets for blogging on Blogger
Formatting
Blogs
Blogger
Extra leading zeros when printing float using printf?
C++
C
Floating Point
Formatting
Printf
SQL Server Convert Varchar to Datetime
Sql
Sql Server
Datetime
Formatting
Varchar
Today's Date in Perl in MM/DD/YYYY format
Perl
Date
Formatting
How to use C++ std::ostream with printf-like formatting?
C++
Formatting
Printf
Ostream
Best ways to format LINQ queries
.Net
Linq
Formatting
Code Readability
Format a number with leading sign
Java
Formatting
Numbers
Currency
How to generically format a boolean to a Yes/No string?
C#
Formatting
Coding Style
String Formatting
Get currency symbol in PHP
Php
Formatting
Currency
how to install sublime text indent xml in sublime 3
Xml
Formatting
Sublimetext
Sublimetext3
Format html code in Visual Studio Code such that attributes are on separate lines?
Html
Formatting
Visual Studio-Code
How to Customize the time format for Python logging?
Python
Datetime
Logging
Formatting
How can I pad an integer with zeros on the left?
Java
Formatting
Zero Pad
How to escape braces (curly brackets) in a format string in .NET
C#
.Net
String
Parsing
Formatting
Converting camel case to underscore case in ruby
Ruby on-Rails
Ruby
String
Formatting
Case Conversion
How can I format a nullable DateTime with ToString()?
C#
Datetime
Formatting
Nullable
Format a number as 2.5K if a thousand or more, otherwise 900
Javascript
Jquery
Formatting
Numbers
Pandas: Setting no. of max rows
Python
Formatting
Pandas
Ipython Notebook
How do I keep Python print from adding newlines or spaces?
Python
Printing
Formatting
Python 2.x
How to format a Java string with leading zero?
Java
String
Formatting
Format
Formatting floats without trailing zeros
Python
Formatting
Floating Point
Pretty Print
Set color of TextView span in Android
Android
Text
Formatting
Textview
How to print a float with 2 decimal places in Java?
Java
Formatting
Printf
Decimal Point
Format date and time in a Windows batch script
Windows
Datetime
Formatting
Batch File
php Replacing multiple spaces with a single space
Php
Regex
Formatting
String Formatting
Ereg Replace
How can I break up this long line in Python?
Python
Formatting
Code Formatting
How do I change Eclipse to use spaces instead of tabs?
Eclipse
Formatting
Tabs
Whitespace
Custom numeric format string to always display the sign
C#
.Net
Formatting
String Formatting
Convert to binary and keep leading zeros
Python
Binary
Formatting
Bitwise Operators
Set TextView text from html-formatted string resource in XML
Html
Android
Formatting
Textview
Format XML string to print friendly XML string
C#
Xml
Formatting
Format JavaScript date as yyyy-mm-dd
Javascript
Date
Formatting
Datetime Format
Date Format
Xcode source automatic formatting
Xcode
Formatting
Keyboard Shortcuts
How can I String.Format a TimeSpan object with a custom format in .NET?
C#
.Net
String
Time
Formatting
Currency formatting in Python
Python
Formatting
Currency
How to format a string as a telephone number in C#
C#
String
Formatting
Phone Number
Format number to 2 decimal places
Mysql
Formatting
Decimal
How do I format all files in a Visual Studio Code project?
Javascript
Visual Studio-Code
Formatting
How to format a number as percentage in R?
R
Formatting
Turn off auto formatting in Visual Studio
Visual Studio
Visual Studio-2008
Formatting
Code Formatting
How can I write data in YAML format in a file?
Python
Formatting
Yaml
Pyyaml
Insert text into textarea with jQuery
Jquery
Formatting
Textarea
Show a number to two decimal places
Php
Formatting
Numbers
Rounding
Number Formatting
Indentation in Go: tabs or spaces?
Go
Formatting
Indentation
Gofmt
How do you change the formatting options in Visual Studio Code?
Visual Studio-Code
Formatting
Options
Underlining text in UIButton
Text
Formatting
Uibutton
Add alternating row color to SQL Server Reporting services report
Sql Server
Reporting Services
Formatting
How can I convert byte size into a human-readable format in Java?
Java
Formatting
Apache Commons
Converting newline formatting from Mac to Windows
Windows
Macos
Formatting
Newline
Utility
Left-pad printf with spaces
C
Formatting
Printf
MVC DateTime binding with incorrect date format
asp.net Mvc
Datetime
Localization
Formatting
Model Binders
How to convert current date into string in java?
Java
String
Date
Formatting
Why should I capitalize my SQL keywords?
Sql
Formatting
Readability
How to change indentation in Visual Studio Code?
Formatting
Visual Studio-Code
The shortest possible output from git log containing author and date
Git
Formatting
Logging
Pad a number with leading zeros in JavaScript
Javascript
Formatting
Using Python String Formatting with Lists
Python
String
List
Formatting
String Formatting
Double decimal formatting in Java
Java
Formatting
Double
Decimal
Python datetime formatting without zero-padding
Python
Datetime
Formatting
Zero Pad
JSON formatter in C#?
C#
Json
Formatting
How to add empty spaces into MD markdown readme on GitHub?
Github
Formatting
Markdown
How to print formatted BigDecimal values?
Java
Formatting
Bigdecimal
Number Formatting
Best timestamp format for CSV/Excel?
Excel
Formatting
Csv
Timestamp
Best way to display decimal without trailing zeroes
C#
Formatting
Decimal
How to print a number with commas as thousands separators in JavaScript
Javascript
Formatting
Numbers
Integer
How to format numbers as currency strings
Javascript
Formatting
Currency
Commonly accepted best practices around code organization in JavaScript
Javascript
Jquery
Design Patterns
Architecture
Formatting
Eclipse: Set maximum line length for auto formatting?
Java
Eclipse
Formatting
Ide
Format floats with standard json module
Python
Json
Formatting
Floating Point
JPanel Padding in Java
Java
Swing
Formatting
Jpanel
std::string formatting like sprintf
C++
String
Formatting
Stdstring
C++ Standard-Library
Newline in JLabel
Java
User Interface
Swing
Formatting
Jlabel
Generate fixed length Strings filled with whitespaces
Java
String
Formatting
How to make Visual Studio not put { on a new line?
C#
.Net
Visual Studio
Formatting
If Statement
Force point (".") as decimal separator in java
Java
Formatting
Double
How to round up integer division and have int result in Java?
Java
Math
Types
Formatting
PHP convert date format dd/mm/yyyy => yyyy-mm-dd
Php
Date
Formatting
Mktime
How to convert an Int to a String of a given length with leading zeros to align?
String
Scala
Formatting
Int
Easy pretty printing of floats?
Python
Printing
Formatting
Floating Point
How can I make Vim's `J` and `gq` commands use one space after a period?
Vim
Formatting
Why is f'{{{74}}}' the same as f'{{74}}' with f-Strings?
Python
Python 3.x
String
Formatting
F String
Declare function at end of file in Python
Python
Function
Formatting
Javascript library for human-friendly relative date formatting
Javascript
Date
Formatting
Convert a date format in PHP
Php
Date
Formatting
How to format a java.sql Timestamp for displaying?
Java
Datetime
Formatting
How to store phone numbers on MySQL databases?
Mysql
String
Database Design
Formatting
Int
C# convert int to string with padding zeros?
C#
Formatting
Number Formatting
Remove trailing zeros from decimal in SQL Server
Sql
Tsql
Sql Server-2008
Formatting
Decimal
Change date format in a Java string
Java
String
Date
Formatting
Date Format
Intellij code formatting, Java annotations on new lines
Java
Formatting
Intellij Idea
Format certain floating dataframe columns into percentage in pandas
Python
Pandas
Formatting
Ipython Notebook
Format a Go string without printing?
String
Go
Formatting
String Formatting
How do I autoformat some Python code to be correctly formatted?
Python
Formatting
Bootstrap 3.0: How to have text and input on same line?
Html
Formatting
Twitter Bootstrap-3
How to format a number from 1123456789 to 1,123,456,789 in C?
C
Formatting
Numbers
How can I format bytes a cell in Excel as KB, MB, GB etc?
Excel
Formatting
Format string, integer with leading zeros
Objective C
String
Formatting
Javascript: How to generate formatted easy-to-read JSON straight from an object?
Javascript
Json
Formatting
Pretty Print
How to auto format code in WebStorm?
Intellij Idea
Formatting
Webstorm
Code Formatting
How can I set Visual Studio to use K&R style bracketing?
C#
Formatting
Best way to format if statement with multiple conditions
If Statement
Formatting
Language Agnostic
AngularJS format JSON string output
Javascript
Json
String
Angularjs
Formatting
PHP simpleXML how to save the file in a formatted way?
Php
Formatting
Simplexml
Excel CSV - Number cell format
Excel
Csv
Formatting
Number Formatting
Is it possible to auto-format your code in Dreamweaver?
Html
Formatting
Dreamweaver
Code Formatting
IntelliJ collapsing single line methods
Java
Intellij Idea
Formatting
Intellij 14
Intellij 15
What does {0} mean when found in a string in C#?
C#
String
Formatting
Can you have variables within triple quotes? If so, how?
Python
String
Formatting
How to auto-format code in Eclipse?
Eclipse
Formatting
Format
Code Formatting
Convert Date/Time for given Timezone - java
Java
Datetime
Formatting
Timezone
Timestamp
How to add leading zeros?
R
Formatting
Number Formatting
R Faq
Convert java.util.Date to String
Java
Date
Formatting
java.util.date
add commas to a number in jQuery
Javascript
Jquery
Formatting
Numbers
Parsing ISO 8601 date in Javascript
Javascript
Datetime
Formatting
Iso8601
Java decimal formatting using String.format?
Java
Formatting
Decimal
Code cleanup in netbeans
Java
Ide
Netbeans
Formatting
How to output git log with the first line only?
Git
Version Control
Formatting
Logging
Commit Message
Google Play app description formatting
Android
Formatting
Google Play
Format a BigDecimal as String with max 2 decimal digits, removing 0 on decimal part
Java
Formatting
Bigdecimal
How to get AM/PM from a datetime in PHP
Php
Date
Formatting
Using Alphabetic Characters in SimpleDateFormat Pattern String
Java
Datetime
Formatting
Simpledateformat
How can I remove punctuation from input text in Java?
Java
Regex
String
Formatting
Can I make Visual Studio place curly braces on the same line as an if statement (in HTML)?
Visual Studio-2010
View
Formatting
Curly Braces
Intellij reformat on file save
Formatting
Intellij Idea
What does the ".000Z" of "yyyy-mm-ddT00:00:00.000Z" mean?
Javascript
Datetime
Formatting
Timezone
How to print (to paper) a nicely-formatted data frame
R
Dataframe
Formatting
how do I print an unsigned char as hex in c++ using ostream?
C++
Formatting
Cout
Ostream
Unsigned Char
Two Decimal places using c#
C#
Formatting
why does %d stand for Integer?
C
Formatting
Printf
Quotes in XML. Single or double?
Xml
Formatting
Format credit card in edit text in android
Android
Formatting
Android Edittext
How to fmt.Printf an integer with thousands comma
String
Go
Formatting
Printf
Print leading zeros with C++ output operator?
C++
Formatting
Numbers
Rounding numbers in Objective-C
Objective C
Cocoa
Macos
Formatting
Rounding
Quickly getting to YYYY-mm-dd HH:MM:SS in Perl
Perl
Datetime
Formatting
Timestamp
WPF format DateTime in TextBlock?
Wpf
Formatting
Textblock
User-friendly time format in Python?
Python
Datetime
Date
Time
Formatting
Should I use printf in my C++ code?
C++
Formatting
Dividing Python module into multiple regions
Python
Formatting
EditorConfig vs. Eslint vs. Prettier: Is it worthwhile to use them all?
Formatting
Eslint
Code Formatting
Editorconfig
Prettier
Converting 24 hour time to 12 hour time w/ AM & PM using Javascript
Javascript
Datetime
Time
Formatting
Android ImageView size not scaling with source image
Android
Layout
Formatting
Imageview
Custom View
File-size format provider
C#
Formatting
Filesize
Format XML code in Eclipse
Xml
Eclipse
Formatting
Format ints into string of hex
Python
Formatting
How to format timestamp in outgoing JSON
Json
Time
Formatting
Go
How do I format a number to a dollar amount in PHP
Php
Formatting
Currency
Equivalent of %02d with std::stringstream?
C++
Formatting
Stringstream
Is there an easy way in .NET to get "st", "nd", "rd" and "th" endings for numbers?
.Net
Formatting
Date
Ordinals
How can I format an integer to a specific length in javascript?
Javascript
Formatting
How can I utilize SimpleDateFormat with Calendar?
Java
Date
Calendar
Formatting
Simpledateformat
Formatting dates with scale_x_date in ggplot2
R
Date
Formatting
Ggplot2
How to prettyprint a JSON file?
Python
Json
Formatting
Pretty Print
Convert Seconds Integer To HH:MM, iPhone
Objective C
Iphone
Time
Formatting
Converting a string to an NSDate
Objective C
Cocoa Touch
Nsstring
Formatting
Nsdate
How to Format dict string outputs nicely
Python
String
Formatting
Currency format in dart
Formatting
Dart
How to convert a full date to a short date in javascript?
Javascript
Date
Formatting
How to format date and time in Android?
Android
Date
Time
Formatting
Format
How to format a Double into Currency - Swift 3
Ios
Swift
Formatting
Currency
Formatting doubles for output in C#
C#
Formatting
Floating Point
Ieee 754
What do smart tabs in WebStorm/PHPStorm do?
Tabs
Formatting
Phpstorm
Webstorm
Reformat Whole Project Files in Android Studio
Android
Android Studio
Formatting
Android Studio-2.2
How do I force unix (LF) line endings in Visual Studio (Express) 2008?
Visual Studio
Visual Studio-2008
Formatting
Editor
Line Endings
formatting long numbers as strings in python
Python
Formatting
String
Integer
Why does the Visual Studio editor show dots in blank spaces?
Visual Studio
Formatting
Whitespace
Code Editor
How to disable scientific notation?
R
Formatting
Scientific Notation
Formatting - at once - all the files in a Visual Studio project
C#
Visual Studio
Visual Studio-2005
Formatting
SSMS Results to Grid - CRLF not preserved in copy/paste - any better techniques?
Sql Server
Formatting
Ssms
How do I set up VSCode to put curly braces on a new line?
Javascript
Formatting
Code Formatting
Visual Studio-Code
Is there an automatic code formatter for C#?
C#
Formatting
Build Automation
How do I format a double to currency rounded to the nearest dollar?
C#
Formatting
Rounding
Currency
Better String formatting in Scala
String
Scala
Formatting
String Formatting
Python function argument list formatting
Python
Formatting
Indentation
Pep8
Removing AngularJS currency filter decimal/cents
Angularjs
Filter
Formatting
Angularjs Filter
iOS convert large numbers to smaller format
Ios
Formatting
Nsnumber
Data Conversion
Human Readable
How to set a variable to be "Today's" date in Python/Pandas
Python
Date
Datetime
Formatting
Pandas
SQL formatting standards
Sql
Sql Server
Formatting
Standards
Coding Style
How can I produce a human readable difference when subtracting two UNIX timestamps using Python?
Python
Time
Formatting
When do you use StringBuilder.AppendLine/string.Format vs. StringBuilder.AppendFormat?
C#
.Net
Formatting
Stringbuilder
How do I pretty-print existing JSON data with Java?
Java
Json
Formatting
Pretty Print
Formatting Decimal places in R
R
Formatting
Rounding
R Faq
Why does HTML require that multiple spaces show up as a single space in the browser?
Html
Formatting
Whitespace
Pad left or right with string.format (not padleft or padright) with arbitrary string
C#
Formatting
Padding
string.format
What Free SQL Formatting Tools exist?
Sql
Formatting
'printf' with leading zeros in C
C
Formatting
Printf
how to change dart line length in vscode when formatting dart files?
Flutter
Dart
Visual Studio-Code
Formatting
Coding Style