tagged [formatting]
JavaScript Chart.js - Custom data formatting to display on tooltip
JavaScript Chart.js - Custom data formatting to display on tooltip I have looked at various documentation and similar questions on here, but cannot seem to find the particular solution. Apologies if I...
- Modified
- 17 Feb at 18:42
How to print a float with 2 decimal places in Java?
How to print a float with 2 decimal places in Java? Can I do it with `System.out.print`?
- Modified
- 23 Mar at 15:0
How to convert current date into string in java?
How to convert current date into string in java? How do I convert the current date into string in Java?
- Modified
- 22 Mar at 01:21
What's the difference between %s and %d in Python string formatting?
What's the difference between %s and %d in Python string formatting? I don't understand what `%s` and `%d` do and how they work.
- Modified
- 22 Sep at 17:7
How to format a java.sql Timestamp for displaying?
How to format a java.sql Timestamp for displaying? How do I formate a java.sql Timestamp to my liking ? ( to a string, for display purposes)
- Modified
- 20 Jul at 23:14
In C#, what is the best method to format a string as XML?
In C#, what is the best method to format a string as XML? I am creating a lightweight editor in C# and would like to know the best method for converting a string into a nicely formatted XML string. I ...
- Modified
- 3 Oct at 23:8
Display number with leading zeros
Display number with leading zeros How do I display a leading zero for all numbers with less than two digits?
- Modified
- 9 Apr at 09:44
Convert hex to binary
Convert hex to binary I have ABC123EFFF. I want to have 001010101111000001001000111110111111111111 (i.e. binary repr. with, say, 42 digits and leading zeroes). How?
- Modified
- 14 May at 02:36
Using String Format to show decimal up to 2 places or simple integer
Using String Format to show decimal up to 2 places or simple integer I have got a price field to display which sometimes can be either 100 or 100.99 or 100.9, What I want is to display the price in 2 ...
- Modified
- 6 Aug at 10:10
Visual Studio Format entire file?
Visual Studio Format entire file? Is there a way to issue a key command to properly format an entire file in VS2008 with CodeRush Express?
- Modified
- 16 Sep at 21:51
How to write URLs in Latex?
How to write URLs in Latex? How do you write a URL in Latex? The subscripts and everything else make the font look very strange when it compiles.
- Modified
- 3 May at 18:31
How do I format all files in a Visual Studio Code project?
How do I format all files in a Visual Studio Code project? Is there a way to format all files in a project without formatting each one individually?
- Modified
- 18 May at 13:19
How to highlight cell if value duplicate in same column for google spreadsheet?
How to highlight cell if value duplicate in same column for google spreadsheet? I am looking for formula for google spreadsheet can anyone please assist me for this query?
- Modified
- 14 Sep at 18:31
How to format date and time in Android?
How to format date and time in Android? How to format correctly according to the device configuration date and time when having a year, month, day, hour and minute?
- Modified
- 27 Nov at 07:54
How to format strings in Java
How to format strings in Java Primitive question, but how do I format strings like this: > "Step {1} of {2}" by substituting variables using Java? In C# it's easy.
- Modified
- 28 Aug at 17:31
How can i format 07/03/2012 to March 7th,2012 in c#
How can i format 07/03/2012 to March 7th,2012 in c# Any one please help i need to show the date 03/03/2012 as March 3rd,2012 etc
- Modified
- 17 Oct at 05:54
How can I String.Format a TimeSpan object with a custom format in .NET?
How can I String.Format a TimeSpan object with a custom format in .NET? What is the recommended way of formatting `TimeSpan` objects into a string with a custom format?
- Modified
- 18 Oct at 12:45
How are booleans formatted in Strings in Python?
How are booleans formatted in Strings in Python? I see I can't do: in Python. I guessed `%b` for b(oolean). Is there something like this?
- Modified
- 8 Jun at 01:16
Convert java.util.Date to String
Convert java.util.Date to String I want to convert a `java.util.Date` object to a `String` in Java. The format is `2010-05-30 22:15:52`
- Modified
- 26 Mar at 16:16
Format a datetime into a string with milliseconds
Format a datetime into a string with milliseconds How can I format a [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) object as a string with milliseconds?
- Modified
- 2 Apr at 06:9
What do the curly braces mean in C# strings?
What do the curly braces mean in C# strings? What does {0,-35} mean in this code?
- Modified
- 19 Mar at 17:58
How do I escape curly-brace ({}) characters in a string while using .format (or an f-string)?
How do I escape curly-brace ({}) characters in a string while using .format (or an f-string)? Non-working example: Desired output:
- Modified
- 22 Jan at 04:25
format date in c#
format date in c# How can I format a date as `dd/mm/yyyy` or `mm/dd/yy` ? Like in VB `format("dd/mm/yy",now)` How can I do this in C#?
- Modified
- 14 Apr at 14:46
How do you format code in Visual Studio Code (VSCode)?
How do you format code in Visual Studio Code (VSCode)? What is the equivalent of + + and + + on Windows in Visual Studio for formatting, or "beautifying" code in the Visual Studio Code editor?
- Modified
- 1 May at 20:19
How to convert milliseconds into human readable form?
How to convert milliseconds into human readable form? I need to convert an arbitrary amount of milliseconds into Days, Hours, Minutes Second. For example: 10 Days, 5 hours, 13 minutes, 1 second.
- Modified
- 20 Feb at 19:11