func convertP(P: Double, units: String) -> Double {
if units == "psi" {
let P = P*51.71492410243892
return P
}
else if units == "atm" {
let P = P*760.0
return P
return P
}
Thanks, jrap.I fixed your post @Alec_t
I'm not sure if it's been fixed, or if it's a browser or website setting. Here's how it looks for me:Is there any way to make the gray text inside code tags less pale and more contrasty. It is gray on gray background. Almost impossible to read as is. Not to mention line numbers, which are practically invisible. Here's how I see it:
View attachment 88386
I use "blue" theme. It looks good now - like on your picture. Thank you for fixing it!Does it look like my pic now for you?
I surely didn't fix it, but I'll echo you: Thank you (to whoever fixed it). I was just trying to figure out whether someone else had in fact fixed it, or if I had some different settings than you.I use "blue" theme. It looks good now - like on your picture. Thank you for fixing it!
BertusThe latest stable version of GeSHi is 1.0.8.11, released on the 19th of Aug, 2012.
Supported Languages:
ABAP
Actionscript
ADA
Apache Log
AppleScript
APT sources.list
ASM (m68k)
ASM (pic16)
ASM (x86)
ASM (z80)
ASP
AutoIT
Backus-Naur form
Bash
Basic4GL
BlitzBasic
Brainfuck
C
C for Macs
C#
C++
C++ (with QT)
CAD DCL
CadLisp
CFDG
CIL / MSIL
COBOL
ColdFusion
CSS
D
Delphi
Diff File Format
DIV
DOS
DOT language
Eiffel
Fortran
FourJ's Genero
FreeBasic
GetText
glSlang
GML
gnuplot
Groovy
Haskell
HQ9+
HTML
INI (Config Files)
Inno
INTERCAL
IO
Java
Java 5
Javascript
KiXtart
KLone C & C++
LaTeX
Lisp
LOLcode
LotusScript
LScript
Lua
Make
mIRC
MXML
MySQL
NSIS
Objective C
OCaml
OpenOffice BASIC
Oracle 8 & 11 SQL
Pascal
Perl
PHP
Pixel Bender
PL/SQL
POV-Ray
PowerShell
Progress (OpenEdge ABL)
Prolog
ProvideX
Python
Q(uick)BASIC
robots.txt
Ruby
Ruby on Rails
SAS
Scala
Scheme
Scilab
SDLBasic
Smalltalk
Smarty
SQL
T-SQL
TCL
thinBasic
TypoScript
Uno IDL
VB.NET
Verilog
VHDL
VIM Script
Visual BASIC
Visual Fox Pro
Visual Prolog
Whitespace
Winbatch
Windows Registry Files
X++
XML
Xorg.conf
by Jeff Child
by Duane Benson
by Duane Benson